I haven't found anything similar to my use case so hopefully my question is clear!
I have installed a third party add-on called QAlity Plus to create and link tests to Jira tasks. What I would like to do is create an automation based on the following:
Important information:
I'm sure this could be achieved through simple automation, but when I look at my audit logs the trigger issue is the created Test. Which isn't an issue until I try to get the Epic Link of the "tests" which I can't figure out how to get.
I've added a ss of my audit log because I've been continuously tweaking my trigger conditions and I'm getting the same result. Any ideas on how I can achieve the above? Thank you!
Hi @Kelly McAteer - Your rule would look something like this:
How this works... In the Issue Linked trigger, you get the following information:
Rule executes when an issue is linked to another issue. {{issue}} will always refer to the source issue, so if ISSUE-A is blocked by ISSUE-B, this rule will execute on ISSUE-B. To access ISSUE-A, use {{destinationIssue}}, and to access the link type, use {{linkType}} (e.g. {{linkType}}
In your case, you would substitute blocked by for is tested by where your Task would take the role of {{destinationIssue}} and your Test would take the role of {{issue}}. So, as you pointed out, the rule executes against the Test, so you just need to make a call on the {{destinationIssue}} to pull information from the Test.
This worked for me thank you!
This is the JSON I got working in the end to update the Epic Link for anyone who is wondering
{
"fields": {
"Epic Link": "{{destinationIssue.Epic Link}}"
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Kelly McAteer @Mark Segall I am struggling with this problem as well - when I tried the above JSON, I am getting an error on using "fields". Any clues? Only difference in scenario is I am using Xray testing, but still has auto linking when test issue is created through tests/is tested by.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.