Specific issue type ticket cannot move to done or dev complete if a custom field is not filled in.

Deb Keene February 23, 2025

We have multiple issue types in a project and all the issue types share the same workflow.  I want only task and bug issue types to have to follow a rule that a custom field must be filled in before the task or bug can move to dev complete or done.  

Is it easier to create a separate workflow for the task and bug so if I set up a condition/trigger I only impact those issue types? 

Or would it be easier to set up an automation rule?  If an automation rule- would appreciate some guidance.  If I triggered on issue transitioned- the "from status" could be almost anything so not sure what to use as a trigger

 

3 answers

0 votes
Maciej Dudziak _Forgappify_
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.
February 26, 2025

Hi @Deb Keene 

There is a third option: you can use Jira expression-based validators, which allow you to require a field conditionally. However, this is only an option if you are open to using apps.

Cheers

0 votes
John Funk
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 24, 2025

Hi Deb,

It is best to just add another transition to the two statuses. Then you would need to add Conditions for each of the transitions going to those statuses to check the value of the Issue type. This leaves you with one Workflow to maintain instead of two. 

0 votes
Vishal Biyani
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.
February 23, 2025

@Deb Keene 

in my opinion, it will be better to create a separate workflow for Task and Bug so that you can put a validator condition before the issue is transitioned for the specific issue types.

 

Transitioning an issue back to previous state is complicated using automation rules

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