Forums

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

Can I change the status of a linked issue, given the parent issue is in a certain status?

Matthew.Anzano
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 5, 2022

I want to create an automation sequence that changes the status of the linked issue. It must follow the following parameters:

1.) All issue must be of a single type "Test"

2.) All issues must contain a linked issue of type "Bug"

3.) The linked issue (Bug) should have a status of "Fixed"

4.) the trigger is when the main issue is changed from "Backlogged" to "Closed"

 

The problem I have is I can't seem to access the linked issue status from the main issue. What is the best way to approach this problem without using any add ins.

 

Thanks

2 answers

1 accepted

3 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 5, 2022

Hi @Matthew.Anzano -- Welcome to the Atlassian Community!

A few ways to do this are:

  • directly access the linked issues' status and types from {{issue.issueLinks}} using smart value, list filtering and then branch
  • branch to the linked issues in your rule, and then add conditions as needed
  • branch to JQL to find your exact issue matches.  One advantage of this approach is you can fully test the JQL with example issues before adding to your rule.

Kind regards,
Bill

1 vote
Alex Koxaras -Relational-
Community Champion
October 5, 2022

Hi @Matthew.Anzano and welcome to the community!

Something from the Jira automation library to get you started would be this:

https://www.atlassian.com/software/jira/automation-template-library/rules#/rule/1357123

You will not have any trouble getting your request to work!

Suggest an answer

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

Atlassian Community Events