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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Adding validator for custom field issue transition

I created a custom field that poses a question, with the "Radio Buttons" providing only two available answers, "Yes", and "No".

How can I add a validator to an issue transition which would only let the issue transition if the response was "Yes"?

Alternatively, is there a better way to do this?  

I tried using regular JQL to define the validator, but it couldn't understand it because it wasn't S-JQL and I'm not that advanced.

Thank you,

1 answer

0 votes

I'm not sure what S-JQL means.  Also, how are you doing this JQL in a validator?  What add-on are you using?

My instinct would be to do it slightly differently - use a condition that says "only if field = yes", but a validator would work on the same basis.

The validator is called "Issue Matches Structure Query", and the S in S-JGL is for Structure.  If used correctly, the issue would need to match the query in order to pass the transition, but my "normal" JQL isn't understood by it.

I would love to use that condition too, but I don't see the option to use one with "only if field = ...".  Is it possible to create custom conditions?

Suggest an answer

Log in or Sign up to answer
TAGS

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