Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

what is purpose of close issue permission in Jira?

Akshaykumar July 6, 2018

I have given permission to one user in my workflow to close issue when its in "Resolved" state, But that single user is not able to get that transition button. Also if I remove Close issue permission for that user and provide "Transition Issues" then that user are able to close ticket.

Then what is purpose of close issue permission? and where I can use this? 

I have added my workflow and Permission scheme. 

 image.png

2 answers

5 votes
Nic Brough -Adaptavist-
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.
July 6, 2018

It's a bit of a hang-over from Jira 1 to be honest.  In there, the workflow was fixed, but needed a way to control who could resolve and close issues.  So the permissions for "resolve issue" and "close issue" were created and used in conditions on the resolve and close transitions.

When we got the ability to edit our own workflows, they became less necessary, as you didn't always put the condition "must have close permission" on close transitions (or even have a close transition).

I'd guess your workflow simply doesn't use the permission.  If you want it to, just add the condition "user must have close issue permission" to the transition you want to protect.

Akshaykumar July 6, 2018

Hi Nic Brough [Adaptavist],

With that way I can use any permission as a condition for transition. Use of Close and Resolve permission in condition is just a binding over permission with condition. As we can see on create transition of workflow Jira automatically add Validator  "Only users with Create Issues permission can execute this transition"  

image (2).png

so same way if we think logically Jira need to add validator automatically on close and resolve transition.

Nic Brough -Adaptavist-
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.
July 6, 2018

The create transition is different to all the other transitions.  It has no conditions because conditions are mostly based on information about the current issue, and when you're in the "create", you don't have an issue because the point is that you're creating one!

Have a look at any other transition in the workflow.  You should find you can add conditions to them, and that one you could add is "user has the <select> permission", with the <select> you're offered including Close Issue permission.

Like # people like this
2 votes
Victor Mutambuki
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.
July 6, 2018

Screen Shot 2018-07-06 at 7.57.00 AM.png

Suggest an answer

Log in or Sign up to answer