Forums

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

Give transition permission to only one specific group

Darlene Ashleigh Jeter
Contributor
October 10, 2019

I have been trying to update properties on a status type to restrict the transition permission to a specific group. (I only want people in this group to be able to perform this function)

I have tried several of the ticks on this sheet and am wondering if there is updated information available.

https://www.j-tricks.com/tutorials/permissions-based-on-workflow-status

I was able to successfully deny the ability to transition for everyone with this (as I was testing):

jira.permission.transition_issue.denied

But when trying to specify a group I had conflicting information. I tried this:

jira.permission.transition_issue.Group=PM_Sprint

(PM_Sprint is the group)

This failed

Then I tried this:

jira.permission.transition_issue.granted.group=PM_Sprint

Also failed.

 

Any assistance would be appreciated.

 

2 answers

2 accepted

0 votes
Answer accepted
Gikku
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 10, 2019

Hi @Darlene Ashleigh Jeter 

If you want to restrict a workflow transition to be available for users in a certain group, the best approach is to add transition condition for the workflow.

See the documentation and use the property Condition --> 'User Is In Group' to open the transition only for the user group members.

Darlene Ashleigh Jeter
Contributor
October 10, 2019

Thank you ever so much for the quick more productive solution to my issue. You rock!!!

0 votes
Answer accepted
Hernan Halabi - Elite IT Consulting Group
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 10, 2019

why make it with properties instead of a condition on the transition to the status that you want to deny that? that should be easier to config you should have a condition named something like user is in group

Darlene Ashleigh Jeter
Contributor
October 10, 2019

To elaborate. We have developers that are working on issues and moving them forward in the workflow that are not assigned to a Sprint. Our client DOES NOT have Scriptrunner. Basically, I need issues in the status I created (No Sprint Assigned) to be restricted from being transitioned unless the user is in a specified group. Does this clarify?

Hernan Halabi - Elite IT Consulting Group
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 10, 2019

You don't need scriptrunner to do so.  Just edit the transition that goes to out of that status (if understood correctly you don't want users to move the issues to the next status) and add a condition over there 

2019-10-10 15_20_08-Add Condition To Transition - Jira.pngThen just pick the group you want and that should be it. I made that printscreen without any apps on the environment

Darlene Ashleigh Jeter
Contributor
October 10, 2019

I actually followed @Gikku Mathew  link and did this exact thing. Thank you so much.

Suggest an answer

Log in or Sign up to answer