Require a field before marking a Story as Done

Hi. We have a custom field in JIRA story, that is used to capture comments.  Is there a way to ensure that people fill this field, before being able to mark the story status as "Done"?      Could anyone point to a documentation that will help me understand how to do it?

3 answers

This widget could not be displayed.

Hi @Varun Pilla

 

You need to add validation on Done transition in your workflow.

the validator name is "field is required" which will prevent users from transitioning to Done if the field is empty.

 

 

This widget could not be displayed.

A validator is the right approach. Use the "Fields required" validator in combination with your field on a screen.

This approach assumes:

  1. You have the JIRA Suite Utilities Plugin enabled in your instance
  2. You're not using the simplified workflow

Cheers 

This widget could not be displayed.

I would suggest another approach:

  1. Create a screen with your custom field and possibly the Resolution field too, both as required fields.
  2. Add your screen to the transition(s) that go to the status Done ('Adding a transition', point 5, second bullet).
  3. Publish the draft of your workflow.

After that, your screen will be prompted to users on changing the status of issues to Done, and a Resolution and a value for your custom field will have to be provided for the change to be applied.

Hope it helps.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

220 views 1 3
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you