Hello All,
I am trying to create an automation for a process we have for our testing.
Our Testing team will be using Sub-tasks for each test step and if anything fails they will be creating linked defects from each sub-task. I want to create an automation that will link the defect that is linked to the sub-task to the main task and any related stories that the task has.
I have tried using a branch but it links the sub-task to the task instead of the bug. Can anyone help solve this?
If I use the trigger issue the sub-task will be linked to the task and not the bug.
I haven't managed to find a way to link it to the related story either.
If I try to use the most recently created issue I get the error on the second image.
Hi @Nikolaos Vlachos ,
Try to use link issue to Destination Issue instead of Trigger Issue.
It only gives me two options.
Either Trigger issue or most recently created issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
type it manually the smartvalue:
{{destinationIssue}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That worked! Thank you!
Is there also a way in the same rule to link the defect to a related story?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No you cant. You need to create new automation for that one,
Hope it helps. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you know what structure to use to link the defect that is linked to the task to the story?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try this Automation:
When Issue linked (use to linkissue type you use to link the Defect to parent base on your 1st automation)
For: Link Issues: (use the linktype where issues you want to update e.i test)
(Optional) Issue fields condition: Issue type = Story (if you want to update only Story Issue type)
Then Link to Trigger Issue or you can use Destination if you use the outbound linkIssue
Then Check to allow other rule actions to trigger this rule in your automation so it will run after the automation of the subtask link automation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't know if I am missing anything but it doesn't recognise it
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.