Hi guys, I'm starting to use the behaviours in scriptrunner, and I need to know how can I do the following:
I need the fields "customfield_ 10130", "customfield_ 10131" and "customfield_ 10132" to be required when the epic status is equal to "Analysis" and the custom field "Status F1" is equal to "In Process".
Hi Jose,
I can confirm that Behaviours in Jira Cloud it only supports the fields documented here per view, and the Status field or Epic Status fields are not currently supported.
This means that you will not be able to achieve your use case with Behaviours as it will not be able to check the values of those fields.
You will be able to use Workflow validators, which use the Jira Expression Framework to write a validator to check that the status field has a specific value and that the other fields are not null.
We have some examples on the page here of how to use the Jira Expression Framework that may be useful in helping you achieve your requirements.
I hope this information helps.
Regards,
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @jose de jesus torres torres
Welcome to the community.
Related to your problem description, these are condition or validators to set in a workflow.
Behaviours is not able to validate statuses
I'm not an expert on the topic as well, but scanning the documentation, this is field based behaviour on issue, but not conditional
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.
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.