User having trouble giving another user permission to close a issue on a workflow

I noticed in the 5.2.7 version of JIRA there is a feature called Permission Helper where you can find out if someone has access to an issue or not. Since I’m having trouble with the FACES helpdesk not being able to close an issue in CDBS, I plugged in the fields and came up with the results below. I still don’t know why the workflow buttons to close the issue are not showing up for him but I now know for sure the Permissions Scheme is not the issue.

2 answers

1 accepted

this has been resolved with the answer Nic gave

0 vote

There's no picture of your results (this seems to happen to Answers a lot when trying to attach stuff, you're not alone...)

You need to have another look at both permissions AND your workflow. Permissions schemes are better thought of as a list of flags that don't really do anything about actions themselves. All actions in Jira are protected though - mostly by looking at the flags. For example, Jira doesn't think "they have edit permission so they can edit stuff", it thinks "this person is trying to edit. What does the code tell me to look at? Oh, if they have the edit flag, then let them do it".

In a lot of cases, like Edit, admin project, view workflows, etc, the permission is hard-coded, but for your workflow it is based entirely on Conditions. The really obvious condition is "user can only resolve an issue if they have the resolve flag in this project". But... you could do things like "user can only use the resolve transition if they've got the delete flag set in this project". Not really sane, but possible.

Basically, check the *conditions* on the workflow and you'll be able to work out why the user does or doesn't match them.

So you think I should check the permission scheme for the project or on the workflow?

Both. You need to read the workflow conditions, probably in conjunction with the permission scheme. Start with the workflow though.

now do I check the workflow conditions in the workflow schemes...I have been trying to look there but I am not getting any where

You need to be an admin and able to edit the workflows, so you can look at the full details.

No, you don't need to change anything - you just need the right to edit workflows - then you can look at them in the list of workflows. You don't need to look at schemes (other than to work out what workflows apply to a project/issue)

to edit a scheme, you must first disassociate all projects from it.

ok I see the list of workflows now what do I do?

I'm the server admin but when I do edit workflows I get

Click "steps" on the workflow you think is a problem, you'll get a text representation of it and you can then descend into the transitions to check their conditions.

ok let me see if I can do this and get back with you thanks lot for your help

I’d believe that except all workflows work as designed when the user is in the DEVELOPER group.

It’s when I try to use the override with the user in the Developer Role to restrict them to just their projects have I ran into this problem.

Very bizarre.

Open(1)

In Progress(2)

On Hold(4)

Close(6)

This is how one workflow looks that works

Open(1)

In Progress(2)

Closed(3)

On Hold(4)

This one is the one that doesn't work does it have anything to do with what number the step is for example closed is the 3rd step but above its the last step?

I ask the user the same question and this was her reply:

Step back - you've given us a list of transitions. The number in brackets is simply the unique id of the transition in the workflow definition, it doesn't really matter too much. What you need to do next is descend into the transitions and look at the "conditions" on them.

Click on them

There is a condition for close how do we get rid of it?

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...

758 views 2 19
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