Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,295,853
Community Members
 
Community Events
165
Community Groups

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

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

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

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?

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,488 views 37 44
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you