Hi, I have a new custom field called Environment which is a dropdown options of either "Staging" or "Production". If an issue is moved to Done column on sprint board, I wanna alert user to choose environment if it's empty. If environment is already set, no need to prompt anything.
Is it possible to achieve? If not, is there any other way to notify user to fill in Environment field when issue is moved to Done?
You'll need an add-on to give you a "field required" validator - I know Jira Suite Utilities includes this, but I bet there are others.
Once you have this, you would add a screen to the transitions to your "done" statuses so that the user is prompted for the field, and then a validator to make sure it's not empty at the end of the transition.
You say there is "no need to prompt" the user if the "environment" field is not empty; if this is a hard requirement, it is possible to create this as well, but it will be more work:
In addition to adding the validator and screen, you would need to add a condition that the "environment" field was empty so that this transition is only shown to users in that situation. You would then add a duplicate transition with the condition set to the inverse ("environment" is NOT empty).
This creates two identical transitions; one that requires 'environment' to be populated before you can see it but that does not prompt the user for anything, and one that is only shown when it is empty that does.
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.