I have added a custom field to my stories, with a list of options. If 4 out of 5 options are filled in, then I would like the person changing the status of the ticket to Ready for Release to also fill in the Time Spent field. I can add a validator for the Time Spent field, and separately a conditional for the custom field, but I cannot say that the Time Spent field should be filled in, ONLY IF, certain options are selected for the custom field
Is there a way to link the validator with the conditional?
Welcome to the community.
This is not possible ootb, this will require 3rd party apps, like:
Apps that can extend workflow functionality.
I’m a Product Manager at Deviniti, responsible for the Dynamic Forms for Jira app. Our solution allows you to configure conditional logic for specific fields — for example, making a field required or showing it only when certain conditions are met.
We currently support the Create screen, Issue View, and Transition screen.
While the app doesn't support the Time Spent field at this time, I believe our solution may still be a good fit for your needs. I've added your request to our product backlog as a potential new feature for future development.
If you have any questions or would like to discuss your requirements in more detail, feel free to book a demo with us!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I’m Charlotte, a support engineer at Appfire and I’m here to help you.
Unfortunately, natively, you’ll not be able to do it.
Allow me to suggest solving this issue by using Jira Misc Workflow Extensions (JMWE), you can use the Field Required Validator (JMWE app), that allows you to make a field required but with optional validation.
For you specific case, I recommend doing it like this:
!!issue.customfield_10496 &&
issue.customfield_10496.length == 4 &&
issue.customfield_10496.some(it => it.value == "Option A") &&
issue.customfield_10496.some(it => it.value == "Option B") &&
issue.customfield_10496.some(it => it.value == "Option C") &&
issue.customfield_10496.some(it => it.value == "Option D")
You just need to change some specifications like the custom field ID, and the options, according to your instance and need.
I also recommend that you add the field Log Work to a Transition Screen, so that the Time Spent is validated when required during the transition.
Please contact our support if you have any other questions about this validator, or JMWE in general.
We’ll be happy to help you! 😉
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.