Is it possible to limit the ability to assign fixVersion to Developer or QA lead users in Jira ?

i.e .... only Dev and QA leads should be able to assign fixversion(s) and rest of the folks should have readonly access to it.

 

Thanks.

2 answers

1 votes
Sam Hall Community Champion Nov 16, 2016

Hi Ashwin,

The ability to set a fix version on issues is tied to the 'Resolve Issues' permission. Search for 'Resolve Issues' on this page.

 

Resolve issues

Permission to resolve and reopen issues based on the workflow condition. This also includes the ability to set the 'Fix For version' field for issues. Requires the Transition issues permission. Also see the Close Issues permission.

 

So maybe you could set up your permission scheme so that only Dev and QA leads have this permission.

Additional Info:

If you want to add other conditions (such as checking a label), then you could look into controlling this using workflow conditions.This gets a bit more complicated, and will depend a lot on how you have your JIRA instance set up. But I'll do my best to give you an idea of how it might be done.

You could do something like the following steps:

  1. Set up the screen scheme for your project/issue type, so that you have:
    • a 'View' screen (which includes the "Fix Version" field) 
      and
    • an 'Edit' screen (which does not include the "Fix Version" field). 
    This effectively will make "Fix Version" read-only for everyone.
     
  2. Set up a custom screen called something like "Set Fix Version Screen". Include "Fix Version" on this screen. 
     
  3. Set up the workflow for project/issue type so that it has a "Set Fix Version" transition somewhere, with 'Transition View' set to your "Set Fix Version Screen". You could consider using a global transition for this:

    global-transition.jpg

     
  4. Put conditions on the transition, so that it can: 
    • only be executed by your Dev and QA leads (the "User is in project role"  condition or perhaps the "Permission Condition" would be ones to look at)
      and
    • only be executed if label = "xyz" (try the "Value Field" condition. Depending on what version of JIRA you use, you might need Suite Utilities for JIRA for this one.)

I haven't tried using the value field condition on a label, so not sure how well it will work.

It's difficult to help further without knowing specific details of how your JIRA is set up, so I'm just trying to give a general idea. Please consider carefully if something like this would work for you. Test it in a non-production JIRA instance if you can!

Hope this helps. Someone else might step in with a better suggestion.

Sam

Sam Thank You very much for the ellaborate suggestion ..... i will check if this suits the requirement. smile Thank you.

But one drawback remain in this approach... this is limited during the transitioning of the issue. But what after that..... ????

 

Sam Hall Community Champion Nov 17, 2016

Making sure the "Fix Version" field is not available on the Edit screen means that the only way to change it is via the transition, which is restricted by the conditions.

It's up to you where in the workflow you put this transition. You can make it the transition which closes your issue, or make it available from any status (as shown in the screenshot I gave).

Sam 

Thanks Sam... I will check that ... thumbs-up

Hi Sam,

Thanks for the input..... smile but their is one more catch .....

 

Can it be also used in conjunction with any specific label i.e let say if any issue has label "xyz" then only the dev/QA people should be able to assign the fix version otherwise not?

 

So basically their is an AND condition if only label ="xyz" and user ="Dev/QA" provide the permission to change the value of Fix Version

Thanks

 

Sam Hall Community Champion Nov 17, 2016

Hi Ashwin,

I edited the answer to add some additional info which might give you an idea on how to proceed.

Sam

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,760 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot