I am attempting to restrict transitions in a Jira Product Discovery Workflow based on the projectRoleId.
In Jira Software, this is a numeric value; and I can get this ID by looking at the roles.
In Jira Product Discovery, I can create a new Project Role and I can name the new role. However, when using this name in the properties section within JPD, it does not properly work.
Is there another view where I can see the numeric id for a JPD Role?
Answering my own question...
I attempted Role because I could not get Group (groupId) to work. After some additional testing, I discovered the solution...
First, as far as I can tell, Role will not work in JPD. The Roles defined outside of JPD are not valid within JPD. And, the Roles defined within JPD do not have a 'productRoleId' that I can see.
That said, Groups work, and the groupId can be found (a uuid) if you have admin rights and just select the group, then go to the location field in your browser and grab uuid.
That said...what I found is that for a JPD Workflow, to restrict transitioning from status A to status B, such that, as an example, only users in group 0000-1111-2222 (bogus) can do the transition, a transition Property must be added to status A and is not required to be added to the Transition to status B. I suppose other checks could be added here, but the transition check on just the transition, and not the status, does not work.
Property Value
jira.permission.transition.group 0000-111102222
of course .1, .2, .3 could also be added and several groups could have the permission...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.