update the status of the incident
Asked by Administrador:

Hello

Is there a way for a ticket in a project to change to a certain status, to update the status of the incident that is linked, the latter is in another project?


Answers:
author: Administrador
body: In the end I set it up like this.

![flujo de copia.png](https://community.atlassian.com/t5/image/serverpage/image-id/344847i0665B80CF4DB2FCE/image-size/large?v=v2&px=999 "flujo de copia.png")


author: Trudy Claspill
body: Hello [@Administrador](/t5/user/viewprofilepage/user-id/4939809)

Yes, that can be done with an Automation Rule. The complexity of the rule depends on the Type of the projects involved.

What are the Types of the projects involved? Get that information from the Type column on the View All Projects page under the Projects menu.

Do you want to change all linked issues in the specified destination project if there are multiple linked issues from that project?

If not, what are the criteria you would use to select which issues should be changed.

What are the exact status change scenarios you want to implement?

* When ABC-1 is changed from A to B then
* For linked issues in EFG
  * change the status from Y to Z

Does it matter what the status of the source issue was before, or only what it has been changed to?

Does it matter what the current status of the destination issue is?

comments: author: Administrador
body: My firs project is type Attendance management

My Second project is type Company managed business

<br />

I have the first project with ticket siv-154, this ticket goes to status AA. At that moment, ticket PS-14 is generated with incident siv-154 linked in the second project. When ticket PS-14 changes to status XX, I want the status of ticket siv-154 to change to ZZ.


author: Trudy Claspill
body: "Attendance Management" is not a project type that I'm familiar with. Can you show us a screen image that shows that Project Type information as it is displayed in the View All Projects screen, please?

You would need to create an Automation Rule that is set to a multiple project scope, where you identify both the SIV and PS projects as in the rule scope.

You would use the Issue Transitioned trigger, specifying the To Status as XX.

You would follow that with a Field Value Condition to check that the Project field equals PS, to ensure that the issue that triggered the rule is the issue in the PS project.

You would follow that with a For Each branch, selecting Related Issues / Linked Issue. In the definition of this branch you can option limit it to looking for issues that are linked with specific link types

Within the branch you would add a Field Value Condition to check the Project of the linked issue and confirm that is the SIV project. For linked issues in any other project no additional action will be executed.

The last step is to add a Transition Issue action in the branch to transition the SIV issue to ZZ.

![Screenshot 2024-08-29 at 4.42.48?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/344690i15701ED4632F0D60/image-size/large?v=v2&px=999 "Screenshot 2024-08-29 at 4.42.48?PM.png")


author: Administrador
body: Thanks so such.


author: Trudy Claspill
body: You're welcome.

Were you able to address your requirement with the response I provided?

If so, please consider clicking on the Accept Answer button to mark your Question as Solved.


Tags: cloud

jira-cloud