Forums

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

How can i make bulk changes to all Boards in jira

Sai Praveen Aminigadda August 5, 2019

Hello,

We have almost 2700 boards with different administrators, now we want to add a jira users group besides to the existing administrator. please let me know if there is any way, 

We have script runner but I'm not sure how to make it happen. 

Any Suggestions ??? 

2 answers

0 votes
Muhammad Ramzan_Atlassian Certified Master_
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.
August 5, 2019

Could you please explain what type of change you want to do  , here is one way to do it. As you  already have script runner so do the following steps 

 

Create a board which you will clone

1) Get all projects list

2) loop into the projects list and get the boards 

3) Delete the existing board

4) Clone the board using the script runner RapidViewBoard class (please search for this class, not sure the exact name but its similar like this)

Sai Praveen Aminigadda August 5, 2019

@Muhammad Ramzan_Atlassian Certified Master_ Thanks for your response, I don't want to clone the board.

I want to add a Jira users group as admin for all boards.

Muhammad Ramzan_Atlassian Certified Master_
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.
August 5, 2019

Then its not belongs to Board. What you need is 

 

1- Get all filters for Boards

2- Add the adming group to those filters with rights "Edit"

 

Please use this API

 

POST /rest/api/2/filter/{id}/permission

 

Request
EXAMPLE
{
    "type": "group",
    "groupname": "jira-administrators"}

 

 

 

 

https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/?_ga=2.104141184.1476483889.1555837994-1139998740.1525087811#api/2/filter-addSharePermission

Sai Praveen Aminigadda August 5, 2019

@Muhammad Ramzan_Atlassian Certified Master_ i don't understand, all the filters are having editing permissions by that group, and i'm asking for all kanban and scrum Board admin changes.  

Muhammad Ramzan_Atlassian Certified Master_
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.
August 5, 2019

There are two type of permissions 

 

Project level

 we define the project roles 

Board Level

We define the filters and then share the filter with teams so they can view the boards.

While sharing filters we have two options

Add Viewers: We can add project level or group level. These can only view the issues but cannot edit filters

Add Editors:  We can add project level or group level. Those can change the filters.

 

What actually you want to achieve, board level permissions are given globally .

0 votes
Michael Kuhl {Appfire}
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.
August 5, 2019

Hi @Sai Praveen Aminigadda - You can do this fairly easily using the Jira Agile CLI app.  It has an action named "addBoardAdministrators".  You can use the CLI to produce a list of the boards with the "runFromBoardList" action and then add the new administrator group to the boards in the list.

Here's an example:

--action runFromBoardList --common "-a addBoardAdministrators —group someGroup --id @boardId@"

Sai Praveen Aminigadda August 5, 2019

Thanks for your response, I have installed in my Test instance, but it is showing that I need to install "Client CLI" as well, which is I'm not able to install, I have gone through the instructions and reached out  Bob Swift. but, I didn't get proper help to install it.

Michael Kuhl {Appfire}
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.
August 5, 2019

You can see installation instructions and a download link on the CLI website.  

Sai Praveen Aminigadda August 6, 2019

i tried install Client CLI but i'm getting this error, could you please check and let me know what i'm doing wrong.

Screenshot (391).png

Michael Kuhl {Appfire}
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.
August 6, 2019

That likely means Java is not installed.  Make sure you have performed step 2 on the install guide page.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events