Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to prompt user to fill in a field once issue status is changed

Nan Da April 13, 2022

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?

1 answer

0 votes
Haddon Fisher
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 13, 2022

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events