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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,946 views 19 22
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