Hi Community,
I'm developing a workflow introducing custom editable rules when reaching specific statuses.
For istance, I would like that only a Project Role called "SPR Manager" is allowed to edit the issue which is in a 'For Review' Status.
I implemented something similar for the 'Closed' status, as follows:
jira.permission.editable.group = jira-administrators
This restricts the edit right to the Jira Administrators only. That works great!
So I tried the following property unsuccessfully:
jira.permission.editable.projectrole= SPR Manager
Then, I tried using the project role ID (retrieved form the URL of the Project Role edit page) unsuccessfully again...
jira.permission.editable.projectrole= 10103
Any suggestions?
Many Thanks
Marco
Try: jira.permission.edit.projectrole = 10103
BTW @jobin, this is one of the most valuable pages for JIRA admins... Thx Jobin!
----
BTW: I'd put that property on every "final" workflow step (instead of jira.issue.editable = false / JIRA default)
jira.permission.edit.group = jira-administrators
That way an admin can still perform bulk-updates on "closed" issues :-)
Hi Christian,
I had already tried that. It did not work.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Christian Glad it is useful :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You will have to use the id only. Can you make sure the project role had Edit permissions before you limited it in the Closed state?
If the role is not already in the permission schemes, this wouldn't work. Also see http://www.j-tricks.com/1/post/2011/02/permissions-based-on-workflow-status.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jobin,
thanks for your reply.
The edit right is assigned through the Permission Scheme to:
Then, at project level I customise the 'SPR Manager' project role adding two users, which are not necessarily the Reporter, the Assignee nor an Administrator.
I would expect the...
jira.permission.editable.projectrole= 10103
...giving the 'super-edit-power' to those two users.
Is that feasible somehow?
Cheers
Marco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
AFAIK the edit permission is the ground level permission. So people in your SPR Manager role can only edit the issue if they are either reporter, assignee or administrator...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@foxiceit You cannot do this. You should have the project role 'SPR Manager' in the permission scheme. You can add/remove users from it at any time but the restriction will work only if it was there originally.
In short, you can restrict permissions but cannot grant new permissions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jobin
thanks for j-tricks and help in forums
jira.permission.editable.projectrole and groups = xxx
above property and values are working only when user is not in a group, which is not added to Edit issue permission.
i have a scenario where user or group or role should not be able to edit only in one workflow status, in other status they should be able to edit.
can somebody help me with this, how to restrict a user/group/role from editing a issue in one status.
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
On the status, restrict the permission to a group or role where the user is not a member of!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jobin
If i do that, that group is cant edit issue at all. but i want to restrict group only on that status, can we do this?
that group should be able to edit issue except in that status, for e.g, epic should be editable for a group, when epic is finalized, that group should not be able edit epic. can we retrict same group which has edit permission, not to edit in a status?
only allow admins to edit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you are using the workflow property only on that status, you should be able to edit everywhere else. Not sure why that is not working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have added workflow property on that status, it is not working, it is allowing other group users to edit the issue, who has edit issue permission.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you have the "jira-system-administrators" group in your production environment and / or are you part of it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Look in the log files. I am guessing there is a plugin that is blown up when there is a permission issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi guys,
i am trying to make close issue editable with permission for administrator. I tried http://www.j-tricks.com/1/post/2011/02/permissions-based-on-workflow-status.html and also jira.permission.edit.group = jira-system-administrators with granted. I am getting errors says :
Error rendering 'com.atlassian.jira.jira-view-issue-plugin:details-module'. Please contact your JIRA administrators.
all my tries :
Property keyProperty value
jira.permission.edit.group = jira-system-administratorsgranted
jira.permission.edit.projectrole=10002
jira.permission.edit.projectrole=10002granted and true also
jira.issue.editable.users = emiccrkgranted and true also
I am getting above error msg or it is editable for everyone.
my permission scheme for edit issue is
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just try jira.permission.edit.group = jira-system-administrators. Make sure they could edit before as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
jira.issue.editable should be true by default. No need to give that explicitly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is working but it needs to keep both lines of permission:
jira.permission.edit.group = jira-system-administrators with no property value
jira.issue.editable with property value true
always i tried only one of them or crazy combinations. Thanks a million, Miso
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am sorry, by default I meant that it is true if that is not explicitly set ;) You can just remove it for example or set it to true as you did.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.