Forums

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

Custom Field population issue (Team with ID 'xxx xxx xxx' could not be found)

Dan Bish July 26, 2019

I am trying to set a custom field with automation.  I can log

the {{triggerissue.customfield_14651}} and get the right answer before I go into "For Linked Issues: Split To" ir even inside of the loop.  However, when I try to set it via JSON or even manually I get an error like the one in the title.

Here is my JSON:

{
"fields": {
"customfield_14651": "{{triggerissue.customfield_14651}}"
}
}

 

This works fine when I create sub-tasks, but for some reason, when I try to set a "split story" custom field, it just doesn't work.  I have tried many permutations including json object, toString, hard coded strings (that are valid) etc.  Nothing seems to work except when I hard code the number for the string (e.g. "86" which relates to "xxx xxx xxx").  I can't seem to figure out how to retrieve the number using smartvalues, so I am asking the community if any of you have any ideas on how to get it, or how to make it work using the JSON.

Here is one of the ways I implement it and log some stuff to validate it has data:

Capture 1.PNG

Thanks,

Dan

1 answer

0 votes
Dan Bish August 6, 2019

Anyone?  Is this a bug in Jira Automation or am I doing something wrong?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events