Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Error when cloning issue with new Teams field

Erik Reiter
Contributor
January 5, 2024

I am testing out an automation that clones issues from one project to another, where the target project is depending on the Team that needs to take care of the Issue.

At the moment we use a custom field for this, but since Atlassian provided a "Team" field, i want to change our automation to use this.

 

 

Since the "Team" field cant be set i need to provide the data with "Additional fields" JSON looking as follows:

{
"fields": {
"Team": {"id": {{triggerIssue.team.id.asJsonString}} }
}
}

 

I get the following error, when running the automation:

 

 

Error creating issue
Team id 'JsonData{data={id=215cba51-6bba-430a-8659-7972cef731d8}}' is not valid. (customfield_10001)
What am i missing here? 

1 answer

1 accepted

2 votes
Answer accepted
Erik Reiter
Contributor
January 5, 2024

Oh well, i think i just found the soloution myself...

 

Since i'm unable to delete the post on here, i just had a wrong json:

{
"fields": {
"Team": {{triggerIssue.team.id.asJsonString}}
}
}  

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events