You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I am working on some more complex automation due to the lack of features of a Jira integration I setup. I am really stuck!
I would like to use automation to reference a field trigger when the field changes, query for that field input (should be an issue id) and then create an epic link to that issue id
Note: The issue id (issue_key) is being manually entered on the vendor side and then will carry over to a field called "issue_key" when an issue is created via the Jira integration with the vendor.
Perhaps there is a better way but I figured it was worth getting other input on how to tackle this.
Thank you for your response! I found that with some tweaks this rule works, but only when I manually update the issue_key field. Which is great if someone linked the wrong epic and needs to fix it.
To tackle this I copied the rule and changed the trigger to be When: Issue created
Looking in the audit log I now see that field value for issue_key is nested in ' ' do you know how to remove those before the final step of editing the "Epic Link" field?
EDIT: looks like the first version of the rule did work it just took some time to run. However, the same error occurred and I will still need to remove the ' ' around the value.
Can you show me a screen image of the issue PROD-2120 showing the issue_key field?
Can you show me a screen image of PROD-562 showing that it is an Epic type issue?
Also, note that having the Lookup Issue action is not useful if you are not going to check the output to confirm that the Epic you were trying to use actually exists. Notice in my example I have a component after the Lookup to check the size of the results set. If the size of the results set is not 1, then an Epic with the specified key was not found.
I would like to confirm whether this is a Team Managed project or a Company Managed project. Can you show us a screen image of the View All Project list showing this project in that list and the column that indicates where it is Team or Company Managed?
Also, can you show use the configuration of the issue_key custom field? I would like to confirm the type of field it is.
So far I am not able to recreate the scenario that you are experiencing, so I think there must be something different in the configurations we are using.