You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
I'm looking to figure out if there is a way I can copy the Parent Link from a trigger issue to a new issue created by Jira Automation.
The custom field for this in our instance is customfield_13801
I've tried adding the following as an edit issue action but not getting any joy:
{
"fields": {
"customfield_13801": {{triggerIssue.customfield_13801}}
}
}
Atlassian support actually solved this one for me - they did an amazing job. Posting it below should anyone else attempt the same thing!
I understand... you are trying to copy over the Parent Link custom field to a new issue, however, the parent link value is not available on the new issue key. Hope my understanding is correct.
Please note, Parentlink field has a unique way to store the data. The below JSON expression would help you fetch the data and can be used for an edit issue action.
{ "fields": { "customfield_<>" : "{{issue.customfield_<>.data.key}}" } }
Thanks, @Ryan Eaglen
Now THAT is a curious, and undocumented, syntax. I wonder if it will keep working in the long-term... I also wonder what other undocumented fields are available via that data attribute.
I suggest that you ensure the rule details settings are enabled to notify you if that rule starts failing.
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ryan Eaglen
{
"fields": {
"customfield_13801": "{{triggerIssue.customfield_13801}}"
}
}
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.