Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to make custom field mandatory using Jira automation

If one of the custom field equal to certain values then we want to make 2 custom fields as mandatory.Whether it's possible to achieve using Jira automation

1 answer

Not sure if this is the best approach but it works:

On a path transition you can make 2 grouped sets of conditions:

1. Custom field value = [option 1]

2. (set "All of the following conditions" on the top of the group) Custom field value = [option 2] AND Custom field 2 IS NOT EMPTY AND Custom Field 3 IS NOT EMPTYBez tytułu.png

Mykenna Cepek Community Leader Jun 16, 2022

Very often, the desire to have required fields comes into play when transitioning issues from one Status to another. In other words: when an issue moves through a part of the Workflow, we want to be sure these fields are filled in.

In that case, configuring this on the workflow, as @Marcin Wiktor suggests, is the preferred approach. Use "Conditions" and "Validations" on that step of the workflow. This will ensure that fields are set as desired, or prevent the issue from transitioning to the next Status in the Workflow.

More info on Workflow configuration (see "Conditions" and "Validators"):

Automation cannot "make a field required".

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you