Forums

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

Automation Impact if Project role is deleted?

Julie Mason
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 7, 2025

"View Usage" in the Project Role browser does not show usage in Automations. 

We're trying to cleanup our project roles after merging several orgs into one, but we can't see the impact of deleting a role without manually reviewing hundreds of automation rules. Ugh.

Does anyone have a workaround or suggestion using the API? Zero budget to purchase another app.

TIA!

 

 

2 answers

3 votes
Bill Sheboy
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.
July 7, 2025

Hi @Julie Mason -- Welcome to the Atlassian Community!

One way to do that is to search the exported JSON for all the rules:

  • ask your Jira Site Admin to export all of the rules from the global rule list
  • identify the ID value for the Project Role (or the name)
  • load the JSON in an editor (preferably one that can format JSON), and search for the value to find the impacted rules

Kind regards,
Bill

Trudy Claspill
Community Champion
July 7, 2025

Oops! We provided the same answer, and you were first.

I should've refreshed the page before saving my answer.

Like Bill Sheboy likes this
2 votes
Trudy Claspill
Community Champion
July 7, 2025

Hello @Julie Mason 

Welcome to the Atlassian community.

I would do the following:

1. In Role Administration make note of the numeric ID assigned to the Role of interest.

2. In Global Automation, export all the rules. This creates a JSON file.

3. In a tool that supports formatted JSON editing/searching open the JSON file.

4. Search the content of the JSON file for the ID you noted.  Note that you have to examine the context in JSON surrounding any values found, as the value may also be found in other references (like custom field IDs) that are not about Roles.

5. Search the JSON content for the Role name. There may be instances (like JQL statements) where the Role Name was used and not transformed into an ID.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events