How do I make a status ask for a reason from a multiple choice list

Hi, we have just purchased JIRA and I am trying to configure a workflow but I am not having much luck.

The process I would like to do it:

Tester raises a defect and assigns to developer, the status is currently open.

The defect is picked up by the developer and they select Under review so we know the defect is being looked at.

At the point of choosing the under review button the option to Accept, Reject or Defer the defect is added to the tool bar.

If they choose Accept the status updates to 'In development'

This first part I have configured ok

If they choose Reject I would like it to pop up with a list of reasons for rejection and once selected the status will update to the reason selected.

If they choose Defer again I would like it to pop up with a list of reasons for deferral and once selected the status will update to the reason selected.

If they defer it will auto assign to the PM (I have figured this bit out)

If they reject it will be returned to the tester (again I have figures this bit out)

The PM or Tester will then have the option to return the defect to developer or close the defect.

Can anyone help me with the multple selection options when I select either Reject or Defer?

Thanks in advance

1 answer

What is the reasoning behind choosing either Defer or Reject and then having another status for why it was deferred or rejected? Just trying to understand the underlying reasoning here. It could be that you don't really need this part, or that its as easy as using Resolution for these and closing out the issue unless someone decides to reopen it in the future.

Hi Brian

When a defect is raised we have the option on the toolbar to Accept, Reject or Defer. If they accept the status automatically updates to 'In Development'

If they reject the defect we want to know why and we have a list of choices for them to pick from. Once they choose an option it will be returned to the tester, this may be for something like Unable to Reproduce or More Info Required.

This is similar if they wish to defer a defect we have a list of reasons why a defect is deferred and it automatically assigns to the PM. Basically what I want it to do is when they choose reject/defer it asks them why, they choose a reason which then becomes the status. I have looked online and it mentioned a plug in but we dont want to purchase any extras if this is something we can already achive in the current version.

Thanks

I can think of a couple ways to accomplish this, both would be with plugins. Lets use the Defer option for an example below.

  1. Use the JMWE (JIRA Misc Workflow Extensions) plugin. To do this you would need to create a custom field with the options for the Defer transition. You could then put that field on a transition screen for "Defer" and add a validator that the field is required. Lastly, you could then use the "Transition Issue" post function from JMWE (with a groovy script) to have it transition to a certain status based on the field selection. You would need to add one of these post functions for all of your options. 
  2.  The other option would be using Scriptrunner to create a script post function. You would still need to create the custom field, add a transition screen and a validator to require the field. But instead of the "Transition Issue" post function you would add a "Script" post function and write a script to transition the issue to a certain status based on the field value.

I hope i wasn't rambling too much there. You can always contact me directly if you have any questions. Or the Adaptavist guys that own and run Scriptrunner are super responsive with questions.  

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

465 views 7 5
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