Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Adding users to Admin Groups by custom field value

So I want to set up automation from JSM request. I would be using a select list (cascading) and based on the last value. Then use that value to equal a Jira Group in Administration Users & Groups. In which it would then add a user to the group defined in the value. 

Is this possible and if so which tool would work? Powerscript or Scriptrunner? Maybe Jira automation? I have not found where Jira automation can do anything like this but maybe I am missing something. It would be nice if it could do that much. 

Just looking for guidance to see if this is possible without building an REST API to do so.I think it might be able to be done with JiraPS I just have had time to build a script to do so. 
Whats the best tool and is it possible? 

Thank you in advance!

1 answer

Hi Aaron,

I can confirm that unfortantetly inside of Jira Cloud that it is not possible to achieve your requirement using ScriptRunner for Jira Cloud due to the fact that the rest API for adding users to a group which Atlassian provide is marked as Connect apps cannot access this REST resource and this means that ScriptRunner for Jira Cloud will not be able to use this to add users to the required group.

I hope this information helps.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

Next level incident management in Jira Service Management

Hello Atlassian Community! We’re thrilled to announce some exciting changes to incident management in Jira Service Management Cloud, in order to give your teams extra muscle during incidents, and ...

1,544 views 20 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you