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

How to create Validation rule with a message for custom field with Jira on cloud?

I have a requirement to create validation rule when ever Status is changed to Needs Prioritization, user points field must have a value. But I have options to create workflow and automation but not a validation rule with a message. Any idea how to achieve this?

1 answer

1 vote
Jack Community Leader Nov 13, 2020

Hi Ankita,

So is this a classic project or next-gen. For validation rule you need a Classic project. If you are an admin go to project settings > workflows and edit the workflow in diagram mode. Click on the transition into "Needs Prioritization" status and on the right you should see a pop up w/ properties, conditions, validator, post function, etc. Select Validator and then chose field modifed and select the field you want to have validated. Also you should provide an error message if the user does not add a value. Not you will also have to create a screen to be associated to the transition that includes the field on the screen. In so doing when a user goes to transition they will be presented w/ this screen and required to update the field. Note, you may actually want a Condition rather than a validation if you only require the field to have a value before the transition can happen vs. requiring the user to actually enter data as part of the transition.

@Jack Thank you for the reply, I was able to create the validator but unable to relate the screen in case the error occurs. Could you help pls?

Jack Community Leader Nov 17, 2020

You can create a new screen under admin > issues > screens. Then to associate to the transition just double click the transition when editing the WF. You will see the screen files where you can select the created screen. 

Jack Community Leader Nov 19, 2020

@Ankita Chattopadhyay , were you able to achieve you goal? Can i be of further assistance?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,047 views 8 28
Join discussion

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