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

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 Leaders.
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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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. 

Suggest an answer

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

Atlassian Community Events