Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

A linked issue is transitioned..... Multiple linked issues

MCjiraLearner July 25, 2019

Hi,

I have an Issue A with it's own Workflow A. There is an Automation to create a linked issue once in my own project as Issue B with it's own Workflow B (Workflow B is just Open to Complete) and another linked issue in another project known as Issue XYZ with it's own Workflow XYZ (Workflow XYZ is just Open to Complete).

 

Linked Issue B was created at Status Alpha (in my project) & Linked Issue XYZ was created at Status Beta (in my project).

…..--->Alpha--->Beta--->ClosedNow

 

I want to know if I can use Automation, "A linked issue is transitioned", to transition Issue A to status ClosedNow only when both linked issues are Status Complete in their respective projects?

1 answer

0 votes
Kausthub Naarayan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 26, 2019

Hi Mandouh,

I am assuming you are asking for JSD Cloud.
You can try using "Linked Issue Matches" JQL to create the necessary conditions before actually performing your desired actions on the issue using the Then Action "Transition Issue".
Please let me know if this approach works.

Thanks

Screen Shot 2019-07-26 at 3.02.33 PM.png

MCjiraLearner July 26, 2019

I already know that. My question is can the "A linked issue is transitioned" be used for the scenario I described above. I know it will work for 1 linked issue, but can I make the Automation only trigger when 2 linked issues are Status Complete that are in 2 different projects.

Kausthub Naarayan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 26, 2019

Currently Automation can only trigger based on a Single Linked Issue. You can only add conditions based on this linked issue which was transitioned and you would not have access to other linked issues.

But just thinking out aloud here, can you maybe use JQL condition on the issue to list the different linked issues and then check how many of the linked issues match your conditions ?
But this may need enhanced JQL functions which come with ScriptRunner. Let me know if already have this addon ?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events