To achieve this automation in Jira Software, you can use a combination of Jira Automation rules. Below are the steps to create an automation rule that closes the parent ticket when the linked ticket with the link type "prevents" is closed:
Navigate to Jira Automation:
Log in to your Jira instance.
Go to the project where you want to create this automation.
Create a new Automation Rule:
Navigate to "Jira Settings" or "Project Settings" (depending on your Jira version).
Look for "System" or "Apps" and find "Automation."
Create a new rule.
Set the Trigger:
Choose a trigger that suits your needs. For this case, you may want to use the "Issue transitioned" trigger. Specify the transition that represents the "Closed" status.
Define the Condition:
Add a condition to check if the issue has linked issues with the link type "prevents" that are closed. To do this:
Add a "Condition" and select "More" to see additional conditions.
Choose "Advanced Compare Condition."
In the JQL condition, use a JQL query similar to the following:
JQL:
issue in linkedIssues("prevents") AND status = "Closed"
Define the Actions:
Add an action to close the parent ticket if the condition is met. To do this:
Add an "Action" and choose "Transition issue."
Select the transition that corresponds to the "Closed" status.
Optionally, you may want to add a comment or update fields as part of the transition.
thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.