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

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.

 

 

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 

0 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

922 views 3 12
Read article

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