Make custom fields required in a workflow transition in Jira server

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Server and Data Center Only. This article only applies to Atlassian products on the server and data center platforms.


The solution described in this KB article requires the Field Required Validator, which is a function that is not available in Jira out-of-the-box.

This validator is only available by installing a paid third-party add-on, including but not limited to:

Such solution falls outside of Atlassian Support scope. If you face any issue while using the validator coming from any of these add-ons, we recommend reaching out to the respective add-on support team.

Problem

A particular field should be required to perform a transition. However, Jira applications only allow a field to be set as Required in the global context. This article describes a way to make a field requires during a workflow transition.

Please keep it mind that, as mentioned in the warning panel, this solution cannot be implemented using Jira out-of-the-box, and that installing a paid 3rd party add-on is required.

Resolution

  1. Log into Jira as a Jira Administrator
  2. Make sure that one of the 3rd add-on listed below (or any other add-on that provided with a "field required" validator is installed via the page ⚙ > Manage Apps > Manage Apps
  3. Go to the page ⚙ > Issues > Workflows, and scroll down to the workflow for which you need to add a required field to a transition
  4. Click on the Edit button next to the workflow
  5. Open the transition that you need to configure:
    1. in the Diagram mode, select the transition you want to edit and click Validators;
    2. in the Text mode click the transition name and go to the Validators tab.
  6. On the Validators tab, click on the Add Validator button, and from the list of Validators that shows up, select the 'Fields Required' validator, and then choose the field of your choice as the required field.
  7. Select the field or fields that you want to make required for the transition.
    (You'll need to click the top Add button to add them to the Required fields list) 
  8. Click Add to complete the creation of a Validator.
  9. Verify the newly added Validator in the Transition screen.
  10. Publish the workflow to apply the changes.



Last modified on May 13, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.