How do I prevent a jira group to close issues except for Resolved Fixed?

Hi,
I would like to modify the workflow for my project so to prevent people in a specific JIRA group from closing a bug unless the resolution is “Fixed”.

In other words, I would like some users to be able to close a bug which is Resolved with a “Fixed” resolution, but NOT allow them to close a bug which is Resolved with a “Waived” resolution.

I checked the workflow Properties and this guide here:
http://www.j-tricks.com/1/post/2011/02/permissions-based-on-workflow-status.html


Unfortunately this doesn’t work for my purpose as I cannot specify the status/resolution to deny in the Property Key field and cannot make an exception to allow a specific status/resolution.

Does anybody know of plugins which could do the job? Or any alternate way I could go about achieving this?

Thanks a lot for your help!

2 answers

1 vote

Not sure if I misunderstood the question or not but maybe you can add a grouped condition like this:

((The field Resolution will have to be equal to value 'Fixed'. Compared as String.) AND (Only users in group administrators can execute this transition.)) OR ((The field Resolution will have to be equal to value 'Waived'. Compared as String.) AND (Only users in group developers can execute this transition. ))

For comparison, you can use JIRA Suite Utilities plugin (Value field condition).

Hi Jobin,
What I meant is the group should be able to close resolved bugs with a Fixed resolution, but the same group should not be able to close bugs in other resolutions (such as Waived, By Design, ect).

Can't you just create 2 groups, one with everyone, and another with the set of people who are allowed to close bugs with all resolutions including Fixed? The goup with everyone can only close resolved bugs with Fixed resolution but the others can close all of them.

0 vote

Hmm, I'd be looking for a simple condition to cover that. I'm not aware of any provided by plugins directly, but I think you could do it in a couple of lines of code in the script runner or your own small plugin.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

149 views 1 17
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