How can I update a linked issue's state?

We have two agile boards, one for development and the other for testing. 

We are able to link the testing task to the original task. However, is there a way to update the status of the linked task?

For example, if once task A's status has been changed to "Done" in the development board, can the linked task B's status in the testing board be updated to "Ready to Test"?

1 answer

One way would be to use the Update issues post function from Update on Transition for JIRA to do the transition (see Transition issues). You will need JQL (in the JQL query field) to find the issue to update. Use the linkedIssues() JQL function to find the right issue using Substitution variables (like %original_key%). Then use %jql_result_list% in the Issues to update field. 

If there are any errors in your configuration, you will need to look in your JIRA application log for error log entries. Additional logging can also be turned on - see How to get problem determination information.

Thanks for the answer Bob... I'm a little new to this, and my implementation does not appear to be working, can you verify I'm approaching this correctly? 1. I added your plugin:Update on Transition 2. I am adding a Post Function to the final transition for task A. (To update task B) 3. For the sake of keeping it as simple as possible, I'm ignoring the optional conditions. 4. Issues to Update: %jql_result_list% 5. JQL Query: linkedIssues(%original_key%) 6. Transition: Development Completed 7. Assignee: Is there a way to leave this unchanged? Tester has already been assigned.

Seems about right. I updated the answer with more information on problem determination. Regarding #7, normally this should be left unchanged unless you request something different. Open an issue ( if it isn't working as expected.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,897 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot