Hi everyone,
I was wondering if it's possibile to make a field mandatory when a specific value is selected in a previous field of the same issue.
Example:
In the Creation screen of an issue I must fill the "Priority" field with one of 2 values: High or Low.
Another field, put after Priority and called "Due date", is not mandatory by default.
I'd like that the Due date field become mandatory only if in Priority user selected "High".
Is it possibile?
Thank you,
Emiliano
You cannot do it by default in JIRA, you will need an app for this use case. There is a couple out there that should allow you to do it such as JSU, Workflow Toolbox and Scriptrunner.
If you have Scriptrunner you could use the Behaviour feature to write a script that do this validation. But it will be apply only from the UI, not the REST API. If you need to have this condition all the time you could add a script validator.
https://docs.adaptavist.com/sr4js/latest/features/behaviours
https://docs.adaptavist.com/sr4js/latest/features/workflows/validators/custom-validators
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.