Forums

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

Automatically Update Priority Number When Tickets Closes

KristinaH
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!
November 17, 2022

I have two custom fields where I maintain priorities - Department and Dept Priority 

Current state is that I manually review tickets to update the Dept Priorities. Ideally what I would like to happen is when a #1 ticket for a Department closes, that the #2 ticket automatically gets updated the #1.

How do I go about that?

1 answer

0 votes
Trudy Claspill
Community Champion
November 17, 2022

Hello @KristinaH 

This could be done with an Automation Rule.

https://support.atlassian.com/jira-software-cloud/docs/automate-your-jira-cloud-processes-and-workflows/

Do you have only one ticket with a Dept Priority=1 and one ticket with a Dept Priority=2 at a time (per Department)?

If you updated the Dept Priority=2 to =1, how is the next #2 priority specified?

 

The basic flow would be:

Trigger: When an issue transitions to Closed

Condition: Dept Priority equals 1

Branch / Related Issue / JQL:

Department = {{triggerIssue.department}} and "Dept Priority"=2

-- Condition: Status not equal to Closed. (don't need to update #2 priorities that are already closed)

-- Action: Edit Issue

    -- Dept Priority field = 1

Suggest an answer

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

Atlassian Community Events