Forums

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

How to restrict assignable users on a transition screen based on project role?

Guillaume Soucis May 10, 2019

I have a RESOLVE transition screen for my workflow with an assignee dropdown. I want the list of users in that dropdown restricted to a certain project role, whose id is 10306. If I add the property jira.permission.assignable.projectrole = 10306 in my transition, it doesn't change anything to the list. This property only seems to work for statuses. But I have many statuses which can transition to the RESOLVED status, so I am really looking to have this property apply to the transition, not a status. How can I make this work?

 

Here is a picture of my workflow if that helps:

Capture.PNG

1 answer

0 votes
Krishnanand Nayak
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 10, 2019

You should try scriptrunner behaviour to do it. You can restrict the behaviour to run on a specific screen. Once this is done try to populate the Assignee field with the users from a particular group.

 

Here are some examples that you want to combine and see it it helps.

  1. https://library.adaptavist.com/entity/validate-the-user-group-of-the-assignee
  2. https://library.adaptavist.com/entity/limit-a-behaviour-to-a-specific-workflow-action
Guillaume Soucis May 10, 2019

Thank you but I am on JIRA cloud.

Krishnanand Nayak
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 10, 2019

Sorry didnt realise that ... wondering why they dont provide that feature in the cloud.

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 10, 2019

It is impossible to do it in Cloud currently. Unless Atlassian wants it, it will never be possible

Guillaume Soucis May 27, 2019

A feature request has been created based on this need. I encourage people who find this thread to vote for it : https://jira.atlassian.com/browse/JRACLOUD-72131

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events