Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to automate a task to close when linked item is moved to Done?

Matheus Marques July 22, 2024

We have a board in Jira that centralizes the security team's vulnerabilities.

The other teams responsible for resolution have their individual boards.

The idea here is, we want to link our security tasks into development team tasks so that when the development team's tasks complete, ours also close.

Example: GYBERGV-13 has the item CYBERGV-14 linked on another board. When GYBERGV-14 is completed, CYBERGV-13 is also completed.

jira.png

2 answers

1 accepted

0 votes
Answer accepted
Matheus Marques July 26, 2024

I have implemented a global automation that solves my problem:

When item is moved to DONE in any project
If linked items are in MY PROJECT
Close linked items

jira.png

1 vote
Christopher Yen
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 22, 2024

Hi Matheus, You would have to create an automation rule in the development team's project. I'll include a snippet of my automation where I keep two projects issue statuses synced to serve as a reference

Trigger: When issue transitions

2024-07-22 14_35_15-Window.png

Hopefully this helps, let me know if you have questions

Matheus Marques July 26, 2024

I managed to do it in a different way, instead of placing it in each project, I performed a global automation as follows:

When an item is moved to DONE
For all associated items
- If the associated item belongs to my project.
- Close the associated item.

This way, I don't need to associate the automation to each project:

jira.png

Christopher Yen
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 26, 2024

very nice!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events