Automation to change status on linked issues
Asked by Becky Koronkowski:

Hello!

I'm trying to create an automation rule that will update the status of an issue to that of a linked issue. Both issues are in the same project.

Example: Issue 1 is created. Issue 2 is created and linked (not child issue) to issue 1. I'd like an automation rule that will update the status of Issue 1 to that of Issue 2 (when the status of Issue 2 changes/any status).

All I have so far is:

When: Issue linked (Types: All link types)

Issue Type equals (Issue 2)

Thanks!


Answers:
author: Nicolas Grossi
body: [@Becky Koronkowski](/t5/user/viewprofilepage/user-id/5523625) You might take a look at this thread: <https://community.atlassian.com/t5/Jira-questions/Change-status-of-issue-based-on-linked-issues/qaq-p/2255572>

Nicolas


author: Joseph Chung Yin
body: [@Becky Koronkowski](/t5/user/viewprofilepage/user-id/5523625) -

Welcome to the community. Can you provide more information since one issue can be linked to one or more issues, thus are you asking all linked issues' status be updated?

The automation triggering event will be "Issue Transitioned" and you want to use "Related issue condition" or use "Branch rule / related issues" to obtain your linked issues for the linked issue transition. As a best practice, you should alway specified the linked issue type that you want to focus on instead of all linked issue types.

You can take a look at the automation rule sample library to find one that related to your ask to obtain some ideas on how to setup the rule - [https://www.atlassian.com/software/jira/automation-template-library#/rule-list?systemLabelId=all\&page=1\&pageSize=20\&sortKey=name\&sortOrder=ASC](https://www.atlassian.com/software/jira/automation-template-library#/rule-list?systemLabelId=all&page=1&pageSize=20&sortKey=name&sortOrder=ASC)

Hope this also helps.

Best, Joseph Chung Yin

comments: author: Becky Koronkowski
body: [@Joseph Chung Yin](/t5/user/viewprofilepage/user-id/396739), thanks.

I've changed the above to:

When: Issue linked (Types: Relates, Defect)

Issue Type equals (Issue 2)

Then: Transition the issue to (?)

I'm confused by the "Issue to copy value from." ![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/331101i44E3158CE37601B5/image-size/large?v=v2&px=999 "Capture.PNG")

I know I don't want Parent or Epic. If I want the status of Issue 1 to be changed when the status of Issue 2 changes, is this my Current, Trigger or Destination issue?

Thanks.


author: Becky Koronkowski
body: I've also tried this and it's not working:

![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/331117iA29AF34EA6792015/image-size/large?v=v2&px=999 "Capture.PNG")


author: Becky Koronkowski
body: I figured it out with the help of Atlassian support.

If it helps anyone else here:

I didn't need the "Issue to Copy Value from" section filled out at all. It should look like this:

![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/331135i13464C06D1C5D595/image-size/large?v=v2&px=999 "Capture.PNG")

Issue Type is one of was specific to my need but can be left out.


Tags: cloud

jira-service-management

jira-service-management-cloud