Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation: close the current issue when all the liked issues closed

Madhankumar K June 21, 2022 edited

Hello everyone,

 

We have 3 different projects and we are cloning the issue from project-1 to project-2, project-3 and linking the recent issues to the project-1.

Now our requirement is to close the issue which is originally created in the Project-1 when the other project(project-2, Project-3 cloned issues) issues are closed closed. 

 

Thanks and Appreciate your help on this.

1 answer

1 accepted

0 votes
Answer accepted
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 23, 2022

Hello @Madhankumar K

Thank you for reaching out. 

You can use a global automation rule to achieve your goal. These would be the steps:

  1. Navigate to any of the projects > Project settings > Automation
  2. In the top-right corner, click on global administration > Create rule
  3. Create the following automation rule:
    Screen Shot 2022-06-23 at 11.21.13.png

This would be the rule background: 

  • Trigger: Select the automation to be triggered when any issue is transitioned to "CLOSED".
    The intention here is to trigger the automation when any of the issues on project-2 or 3 is moved to the status Closed, or any status you selected to be the final status.
  • Branch: Add a branch to apply an action to the original issue on project 1, using the link type for reference.
  • Condition: Add a linked issue condition to confirm that all the issues linked to the project-1 issue are closed.
  • Action: Move the original issue on project-1 to Closed.

Let us know if you have any questions

Madhankumar K June 24, 2022

Thank you @Petter Gonçalves , I will try this and let you know.

I have another concern here, we don't want to implement this globally so can I add another condition for applying this automation to specific projects?

Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 27, 2022

Hey @Madhankumar K

Once your automation rule is created, you can go to the rule details and properly set which projects should be included in the scope of the automation:

Screen Shot 2022-06-27 at 14.42.40.png

Let us know if you have any questions.

Madhankumar K June 30, 2022

Thank you, It worked.

Like • Petter Gonçalves likes this

Suggest an answer

Log in or Sign up to answer