You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi
I have created a field A and two other fields of date type (e.g. date1 and date2).
I want to compare these two date fields when the ticket status transition to check if field A is mandatory or not.
For example.
if date1 >= date2, field A is mandatory, otherwise the ticket status cannot be transfer to the next status.
If date1 < date2, field A does not need to be entered and can be transferred according to the workflow.
My question is how do I set up this validation in jira? Would be great if someone can help on this scenario.
Hi @Cuijun Shen yes it is doable but not out of the box. You need to install App like https://marketplace.atlassian.com/apps/292/jira-misc-workflow-extensions-jmwe?hosting=cloud&tab=overview (documentation - https://innovalog.atlassian.net/wiki/spaces/JMWEC/pages/1005420569/Use+cases+for+validators) or https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?hosting=cloud&tab=overview (documentation - https://docs.adaptavist.com/sr4jc/latest/features/workflow-extensions/validators/example-validators) to be able to prepare your custom validator.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.