Forums

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

Automatically transition issue status based on linked issue status

Lachlan Ford-Browning
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 3, 2024

Hi all!

 

I am wanting to set up an Automation for a Jira Software project. We use Stories, Tasks, and Bugs. Stories are linked to the applicable Task and Bug tickets using the "relates to" link. I would like to create an Automation where once all linked "relates to" tickets are set to status = Done, the Story ticket is set to status = Ready for Test. I have attempted to set this up with the below Automation flow:Screenshot 2024-10-04 at 3.34.23 pm.png

I have set up some test stories and tasks to see if it was working but it didn't seem to work. I have reviewed the Audit Log for this Automation and the Status of the action when I set the Tasks to status = Done shows No Actions Performed.

 

Would it be possible to get some assistance in fixing this automation? Thanks in advance for your help!

1 answer

1 vote
Walter Buggenhout
Community Champion
October 3, 2024

Hi @Lachlan Ford-Browning and welcome to the Community!

For questions on automation rules, please do share full details from the automation rule and the audit log.

Apart from that - issue links have a different name depending on the direction they are defined at. Implements from the other end can be defined as Is implemented by to name an example. Make absolutely sure that the case you are testing with matches the actual criteria - from your screenshot:

  • the issue you transitioned is a story;
  • it should have linked issues with a relates to link;
  • all of these must be in status done

Only then, the rule tries to transition your original issue from status done to ready to test.

And then - of course - there must be an available transition in your workflow from Done to Ready to Test.

Apart from all the above, it is not a very common scenario that you would transition an issue from status Done into Ready to test. Done is usually the very end of a workflow. 

Hope this helps!

Lachlan Ford-Browning
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 6, 2024

Hi Walter,

Thanks for your assistance! I may have mis-explained the flow. Here's a bit more of an in depth explanation:

  1. Create Story tickets.
  2. Create Task tickets and link to relevant Story via "relates to" link.
  3. Development Team complete Task tickets and transition Tasks to status = Done.
  4. Once all Task tickets that are related to a Story are transitioned to status = Done, the Story will transition from any status to status = Ready For Test.

Hope that makes sense!

Please see the requested audit log from one of the actions performed below:

Screenshot 2024-10-07 at 10.16.53 am.png

In these cases the tickets are Tasks that were linked to a Story using the relates to link, and were all transitioned to status = Done. This was confirmed in the Links section of the relevant Story ticket. The Story ticket did not transition to status = Ready For Test when all linked Tasks were transitioned to status = Done.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events