Require a field before marking a Story as Done

Varun Pilla March 22, 2016

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

1 vote
Christian Czaia _Decadis AG_
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.
March 23, 2016

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 

1 vote
rahuldanwade
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.
March 22, 2016

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.

 

 

0 votes
Ignacio Pulgar
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.
March 22, 2016

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
TAGS
AUG Leaders

Atlassian Community Events