Forums

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

Transition linked issue when its link transitions to a certain status

Megan D July 23, 2024

Instance Info:

  • Jira Server (not cloud)
  • We have ScriptRunner
  • We do not have Automation

Situation:

  • We use Jira to request graphics work on tech data and to track that work. 
  • Within the same project, we have the issue types "Assignment Request" and "Graphics Request"
  • "Graphics Request"s are in a Pending status until they are assigned.
  • The "Assignment Request" issue type is what graphic artists fill out when they need work assigned to them.
  • "Graphics Request" issue types have a Linked Issues field on their Assign Screen.

What I want to happen:

  • When a lead assigns a "Graphics Request" to an artist (and changes that status to Assigned), it should transition the corresponding linked issue, "Assignment Request," to a Closed status.

I am having a hard time making this work at all, and I'd appreciate any input. Thank you!

1 answer

0 votes
Caio Covos
Contributor
July 23, 2024

Hi Megan,

You can use Jira’s native automation rules. Here’s how you can set it up using Jira Automation:

 

Step 1: Create an Automation Rule

 

1.Navigate to your Jira project.

2. Go to Project Settings > Automation.

3. Click Create rule.

 

Step 2: Set the Trigger

 

1.Click on New Trigger.

2. Select Issue Transitioned.

3.Set the transition to the status Assigned for the Graphics Request issue type.

4.Click Save.

 

Step 3: Add a Condition

 

1.Click on New Condition.

2. Select Issue fields condition.

3.Set the condition to check if the issue type equals Graphics Request.

4.Click Save.

 

Step 4: Add an Action to Transition Linked Issues

 

1.Click on New Action.

2. Select Transition issue.

3. In the Linked issues section, select the appropriate link type (e.g., “is blocked by” or “relates to”).

4. Choose the Assignment Request issue type.

5.Select the transition to Closed.

6.Click Save.

 

Step 5: Publish the Rule

 

1.Give your rule a name, e.g., “Close Assignment Request when Graphics Request is Assigned”.

2.Click Publish.

Megan D July 24, 2024

I'm sure this would work except we don't have Automation on our instance. Thank you SO much though for this. We are hoping we get Automation soon.

I edited my post to clarify this.

Suggest an answer

Log in or Sign up to answer