Is there any database query to bulk update groups in project roles ?

Avinash
Contributor
November 15, 2018

Hi,

I am looking to bulk update groups or replace groups in project roles in JIRA as we are moving to new groups in a new directory ? Should I use API instead ? 

Any help is appreciated. 

 

Thanks

Avi

1 answer

1 accepted

0 votes
Answer accepted
jndeverteuil
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.
November 15, 2018

Hello,

I would use the API as their would be less chance that you break something. Generally speaking, I've learnt with colleagues to always use the API before touching the database.

You could make a script that iterate over a predefined set of project key and set the role in them using this API REST method:

I hope this will help you achieving what you want!

If you think that have helped you, let me and the others know by indicating your question as answered :)

Cheers!

Avinash
Contributor
December 6, 2018

@jndeverteuil Can you suggest me a way for Confluence Space permissions ? 

Suggest an answer

Log in or Sign up to answer