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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

66 views 0 5
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