Fellow Automators,
I am at an impasse with Automation for Jira and need help.
My dept is currently using an automation to create an Initiative (custom issuetype for Adv Roadmaps, heirarchy set up per documentation) for every Epic created in this other project, however, for the sake of the Plans feature, I cannot figure out how to set the Parent Link between the two via Automation.
I saw another discussion give an answer for a Parent Link for a Task using this code "{"fields":{"parent":{"id":"36768"}}}" but this error is returning to me "Issue type 10020 is not a sub-task but a parent is specified. (issuetype), Sub-tasks must be created in the same project as the parent. (project)."
Could this error be because it was for Tasks and not Epics? What would be the correct id?
This area of Automation is lacking and I dearly miss Code Barrell's documentation, but that's another topic.
Thanks for any help yall can provide.
Hi Ethan,
Thanks for reaching out.
The hierarchy in advanced road maps unfortunately isn't maintained by a single field, it depends on the issue type.
Epic -> Any issue above epic: Need to set parent link
Any issue -> Epic: Need to set epic link
Subtask -> Any issue: Need to set parent
So with that said, it sounds like you are trying to set a relationship maintained by the parent link field. To do that you need to do the following in the advanced section:
{
"fields": {
"Parent link": "ISSUE_KEY_HERE"
}
}
Hope that helps.
Cheers,
Scott.
Scott,
By the looks of it, this would be for setting a single issue as parent link. What would be the coding for setting it as the trigger issue.
My Automation goes:
Manual trigger
Clone Epic ticket to be an Initiative ticket in the IN project and set the parent link.
I feel like the documentation has become less useful since Atlassian bought Automation out.
Thanks so much,
Ethan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear @Ethan V. ,
kept searching and found this solution:
{
"fields": {
"Parent link": "{{triggerissue.key}}"
}
}
In this case the triggering issue is added as the parent, you can change that according to the smartvalue syntax https://support.atlassian.com/jira-software-cloud/docs/smart-values-general/
Best,
Jan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ethan V. , @Jan Stähle @frother
How would i set the parent link with the attached automation for the EPIC. The trigger issue is service desk issue type, which then creates our ACCOUNT issue type (we renamed the initiative issuetype) and make the ACCOUNT the parent link for the epic. I cant seem to get the above to work and its vital that this automation creates the account as the parent link for the epic
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.