Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Transition into a different status depending on conditions

phil.americus September 21, 2020

Hi. I am trying to see if I can create a transition that will change the issue status depending on certain conditions.

In my Jira, the statuses flow from "Open" to "In Progress" to "Resolved" to "Documentation" to "Closed". All statuses must transition through "Documentation" (so that our doc team doesn't miss anything). There is a transition that goes from "Open/In Progress/Resolved" into "Documentation".

I want to add some logic to this transition to check conditions on the ticket and transition it into "Closed" if it meets those conditions. For example, it the ticket is labeled as "Duplicate" or "Won't do".

Any ideas?

 

2 answers

1 accepted

2 votes
Answer accepted
Patrick Ricciardi
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.
September 21, 2020

It seems like this would be a perfect time to use Project Automation. Create a rule that runs every time a ticket is transitioned. Check the values that you need to check, if they all pass than transition the ticket to Complete.

 

This guide covers the basics: https://www.atlassian.com/software/jira/guides/expand-jira/automation

phil.americus September 22, 2020

Thanks @Patrick Ricciardi

It looks like automation should do what I need. I'll check it out, but I am a bit wary about paying for yet another component.

Patrick Ricciardi
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.
September 22, 2020

If you're using Jira Cloud, you are in luck. Project Automation is free.

If you're using Jira Service Desk look for a section called Project Automation in Settings, if you're using a regular Jira project it is simply called Automation.

 

pat

phil.americus September 22, 2020

Excellent! I gave it a try and it is working perfectly!

Thanks for your help :)

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.
September 21, 2020

You can add a Condition to the transition in the workflow that restricts the transition leveraging the allowed values of your field. Are you well versed in editing workflows or do you need assistance in that process?

phil.americus September 21, 2020

Thanks. Conditions let me restrict the transition to only happening under certain conditions. But here I want it to happen automatically.

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.
September 21, 2020

then definitely go w/ Automation as Patrick mentions. 

Suggest an answer

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

Atlassian Community Events