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
Next: Root
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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi All,
I am planning to link the subtask bugs to their parent ticket so that if these bugs are moved, we can easily identify what story ticket the bugs were discovered.
Upon creation of a subtask bug, it will be linked to its parent story ticket which goes like this: discovered while testing = {parent ticket}.
How can I do this? I am new to JIRA automation and I can't seem to figure out a way to do this.
Any suggestions are welcome.
Thanks.
Hello @Rodel Bernal
Let me see if I understand your scenario.
You have a Subtask Issue Type that is specifically for bugs discovered related to an issue. When you discover a bug related to an issue you create an issue of type Subtask Bug and this is a child subtask under the issue.
And then you might change the parent of the Subtask Bug issue so that it is no longer a child subtask of the original issue.
But you want to retain information so you know that the Subtask Bug was originally created under a particular issue.
Do I have that correct?
If so, you would start with the Issue Created trigger.
https://support.atlassian.com/cloud-automation/docs/jira-automation-triggers/#Issue-created
After that you would add a Condition to confirm that the create issue that triggered the rule was a Subtask Bug type of issue. You would use the Issue Fields Condition to check the Issue Type field.
You would then add a Link Issues action. You can use a smart value to indicate you want the subtask linked to its parent issue.
https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Link-issues
You select the type of link you want to create between the two issues. In my example the subtask "is blocked by" the issue I will link it to (the parent issue).
When entering the smart value you need to click in the space indicated by the arrow, then start typing the smart value, then click on the smart value (in the second image) to get that smart value inserted into the field.
I didn't know you can input smart value in that field. I always thought I'm stuck only between trigger and most recently created issue. Thank you for this!
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.