How do I automatically trigger a status change on a linked issue based on the status of another task

I have two projects - Design and purchasing. When the design workflows gets to a certain status I want it to automatically transition the status of the purchasing task it is related to (by links). Is this possible with automation add-on?


3 answers

0 votes
Andreas Knecht Community Champion Jul 04, 2017

Hi Sheena,

Yes you can do this with Automation for JIRA using the 'Related issues' action.  You'd have to setup a rule like this:

  • Trigger: Issue transitioned
  • JQL Condition: project = DESIGN and status = <target design workflow status>
  • Action: Related issues with 'Linked issues' selected
    • JQL Condition perhaps to check the linked issue is in project = PURCHASING. Depends on your exact requirements 
    • Action - transition issue to the desired target status

Because this rule touches multiple projects, you'll have to configure it as a 'Global' rule in global administration in the System > 'Automation rules' section.

Hope this helps!


Thanks Andreas, that works perfectly.


Hi Andreas,

Is it possible for Jira Project Automation (I have the extended, payed version) to not have access to cross-project links when one of them is ServiceDesk? I am following the very steps you indicated to Sheena above (see picture).

in my case

Sheena's Design = DAIL

Sheena's Purchansing = MITSD

and, for linked Issues which happen to be in my MIT-S[ervice ]D[esk] project the rule falls short of applying with "No related issues could be found". This is pretty surprising - the more so as I put myself as the actor and the owner of the rule and I am an agent authorized to use the Service Desk (MITSD) project. Please tell me I am Capture.PNGdoing something wrong :). 

It seems to be an issue not with Service Desk, but with cross-project linked issues detection (the rule branching). 

Additionally, if you look at my second snapshot below, I have a case where an issue (Dail-442) is linked to a "close" (i.e., same-project) Dail-443 issue and to a "far" (= different project) one, MK-95. When the same rule applies, at 13 sec. interval:

Dail-443 (the same-project sibling) is considered worthy of being a "match" for the LInked Issues rule (see highlights in green, 12;24;31", with success and follow thru with the Then-action.

MK-95 (the different-project sibling) is considered a non-match (see in red, same minute @ 18") and No-Actions-Performed.Capture.JPG

Andreas Knecht Community Champion Aug 10, 2017

Hi Pompi,

Thanks for the detailed screenshots.

So it looks like your rule is setup correctly in global admin so it should be able to find related issues in another project.

Can you check your releated issues action though to see if the 'Only include issues that have changed since the last time this rule executed' is checked? You might have to uncheck this.

I believe the second screenshot with issue DAIL-442 shows something different - the first execution with id 799, DAIL-442 didn't match the JQL condition, so it probably wasn't in the 'Done' status yet.  The rule never executed the related issues action.  (In action details it only mentions the JQL condition)

Hope this helps.



Hi Andreas,

Thank you for your attention (and prompt answer).

I figured out that the rule was, quite contrarily, setup _Not_ in the Global context -my bad- but in the DAIL[Y] project - as one can see from the first screenshot (see the blue Chrome window, under my Exo-ops bookmark). That was the simple reason why it was not working with cross-project linking :). Sorry for randomizing you with a "by design" issue :).

Andreas Knecht Community Champion Aug 17, 2017

Hi Pompi,

Ah right - that makes sense.  Yeah no worries. Rules need to be 'global' in rule details in order to touch multiple projects.


@Andreas Knecht Hi, how about if we want to close a ticket when there is no response after a week. Could you please explain me how can i set up automation trigger. Thanks

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 13, 2019 in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


249 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you