Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to use a transition validator only in certain conditions

We have 1 workflow for New Features, Changes Requests and Bugs. I want the issue resolution field to be required only for Bugs. I put in a validator in the appropriate transitions to require this field. 

Originally, I added a condition on the transitions that the issue type had to be a bug. What I didn't realize was the condition was set so we could not move the ticket to the next status unless the issue type was a bug.

I have fixed this issue, but I do not know how to require the Issue Resolution field for only Bugs, but not the other issue types. 

I went down the validator path because setting a field as required is global which I don't want. Looking for any suggestions on how to require a field for Bug, but not other issue types.

1 answer

1 accepted

1 vote
Answer accepted

Hi @drue ,

For me the better way is duplicate the workflow and after assign the new workflow only to bug issue type.

For example.


     - Workflow_1 (New Features - Changes Request)

     - Workflow_1_bug (Bugs)


After then, you can set into transition of "Workflow_1_bug" a condition for resolution field is not empty

I hate managing more workflows when they are 99% the same, but your suggestion is probably the best thing to do.


Suggest an answer

Log in or Sign up to answer
Site Admin

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you