Automate priority change if linked issues exist when changing status

Mark Farmer
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!
February 11, 2025

Hi,

 

I work with a lot of test cases and have automated much of the creation process. I now want to be able to automate the priority in order to change it when the issue moves to a new status and if the issue has linked issues.

 

ie:

Issue A has Issue B linked as a blocker or test. Issue A moves into In Progress status. Issue A's priority needs to change. 

 

I can't seem to get any logic I try to work.

2 answers

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2025

Hi @Mark Farmer , see if the following is close to your goal...

IMG_5267.jpeg

 

P.s. I see you are on Premium? If so I highly recommend trying out the AI feature for creating rules as I have found it quite useful.

Mark Farmer
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!
February 11, 2025

Hi Jack,

 

I tried something similar and it was changing the priority of the linked issues rather than the ones where the status was changing.

image.png

Mark Farmer
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!
February 11, 2025

I've asked if we can use the AI feature and I'm told I can't (some political machinations further up the hierarchy I suspect) :D 

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2025

😒 

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2025

Keep me posted if the above works

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2025

The above rule will only change the priority of the trigger issue not the linked issues. If you see something different please advise and share audit log.

Mark Farmer
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!
February 11, 2025

Hi Jack, I've changed to this rule and now nothing's happening. The rule runs but it seems to think the ticket (CHDT-511) doesn't meet the criteria. The linked issues don't change now though so that's a bonus.

Mark Farmer
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!
February 11, 2025

image.pngimage.png

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2025

Can you share the details of the condition component? Are you choosing a specific link type in that condition? Have you verified that the linked issues are of the type in the condition. 

Mark Farmer
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!
February 11, 2025

image.png

Mark Farmer
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!
February 11, 2025

They're all linked as 'tests' and that's the condition I've aligned it to. 

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2025

Could you try changing the condition to be any link type and test?

Mark Farmer
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!
February 11, 2025

image.pngimage.pngimage.png

0 votes
Tomislav Tobijas _Koios_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2025

Hi @Mark Farmer ,

Based on the following:

ie:

Issue A has Issue B linked as a blocker or test. Issue A moves into In Progress status. Issue A's priority needs to change. 

You can maybe try using the issue transitioned trigger followed by a condition that checks if there are linked issues (you can additionally specify to check for certain link types).

Lastly, if the condition passes, update the original/trigger issue > Priority field by using Edit issue action.

2025-02-11_13-38-16.png

I'm not sure if that is something that you're trying to achieve. Feel free to share some additional details if I maybe missed the point.

Cheers,
Tobi

Mark Farmer
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!
February 11, 2025

Hi Tobi,

 

I tried a similar approach but it was changing the priority of the linked issues. What I'm aiming for is changing the priority of the issues that are changing status

Tomislav Tobijas _Koios_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2025

@Mark Farmer If I'm looking at the screenshot provided in another thread, this rule should update the Priority field only for trigger issue (issue that changed the status), and not the Priority fields of linked issues.

Can you share the most recent rule, together with the audit log, once is successfully executed?

Mark Farmer
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!
February 11, 2025

image.pngimage.pngimage.pngimage.pngimage.pngimage.png

Mark Farmer
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!
February 11, 2025

Apologies for the image surge Tobi but I thought it best to send everything relevant. @Jack Brickey to save duplication :D 

Tomislav Tobijas _Koios_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2025

No worries @Mark Farmer !

By the looks of the audit log, the only 'checked' issue was CHDT-510.

Are you saying that all those linked issues in HE project were updated/their priority was changed? Can you check (and/or screenshot) issue history for those issues?

Mark Farmer
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!
February 11, 2025

It may have been a different variation of the flow I'd tried previous(there's been so many!) using this flow, the priority on the 510 ticket doesn't change when moving to Selected for Execution. If I have another CHDT ticket linked, it does. 

Suggest an answer

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

Atlassian Community Events