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 (https://bobswift.atlassian.net/browse/CW) if it isn't working as expected.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

174 views 1 17
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