This question is in reference to Atlassian Documentation: How to grant users permission to Close Issues in JIRA
I dont want to give all transition permissions but only the close permission. How can I configure this? I tried also with the "condition" on the transition but it doesn't work...any idea? (Jira 7.2) Thanks in advance Emanuele Agresti
It's not clear what you really want to set up to allow or prevent here, but we can try to explain some principles.
There are two layers to transition permissions in JIRA. Every transition can have "conditions" added to it, and these are intended to prevent the wrong people from performing transitions (or prevent them from doing it when it's inappropriate. These conditions are mostly quite intuitive, ranging from very simple clear ones such as "only the current assignee" or "user must be in role of developer", through to complex ones like "user must have permission X or Y". In the more recent versions of JIRA, there is an extra hard-coded one that says "user must have the 'transition issue' permission" as well.The second layer is the actual permission scheme. A lot of conditions rely on the permission scheme, and use obvious things like "to resolve an issue, the user must have the permission called resolve-issue as granted by the permission scheme".So, to give a user all transition permission except close, you, well do that. Put conditions on the "close" transition that enable you to say "only users that match rule X can do this", and then make sure your user doesn't have it.(Yes, this seems unnecessarily complex, but it really does give you a huge amount of flexibility)
now something is more clear...
but I need to give only the close permission to an user: what is the best way to do this? the only "close permission" in the permission schema is not enough, so I tried to put a condition on the transition "only users in project role X can close" but also this doesn't work...so what can I try?
The conditions are the starting point for this question. You need to look at the conditions on the "close" transition and modify them or the user so that they meet the conditions.
If, for example, the conditions say "only group X can do this", then the user needs to be in group X. The more standarad and useful case is that a condition will say "user must be in role of Y in this project".
But the one that probably applies here is that the condition says "the user has 'close issue' permission". You'll need to look at the permission scheme to establish (and change) if they have that permission.
If you're still stuck here, could you give us a list of all the conditions on the "close" transition, and a look at the relevant parts of the permission scheme and user's group/role membership.
It looks like you're new here. Sign in or register to get started.