The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

I want to extract all the jira rules

ishanu.chatterjee
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 18, 2024

I know I can export in JSON. But I do not want the contents of the rules. I just want to export the tabular view of the rule names, owners, scopes etc.

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 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 Champions.
July 18, 2024

Hi @ishanu.chatterjee -- Welcome to the Atlassian Community!

There is nothing built-in which can do that.

For some workarounds, depending upon the number of rules you have, the output format you want the output, and the technical skills of your team:

Kind regards,
Bill

Darryl Lee
Community Champion
July 18, 2024

Thanks for tagging me @Bill Sheboy (and editing it to point to the correct account!).

Ah yeah, that was a fun article to write.

But now that I look back on it... because I was a little too wordy as usual, let me try to summarize and add a bit.

You'll need to

After obtaining the mapping tables (and yes, you'll need to have a way to keep them up to date), it's just a matter of finding a tool to parse JSON and map IDs appropriately. I used Perl because I'm old.

Kids today would probably use Python or node or something. :-P

But there are even ways to import JSON into Google Sheets or Excel (as @Aron Gombas _Midori_ points out) and then mapping Projects/Owners would be a straightforward VLOOKUP.

0 votes
Aron Gombas _Midori_
Community Champion
July 18, 2024

I think your best option is:

  1. try to convert the JSON to Excel
  2. in Excel, delete the unwanted columns

Step 1 is a rather common problem. Although I am not familiar with any of the tools developed for this, there are many available. This one comes from a well-respected software company. But do your Google research. 

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events