Forums

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

how to backup/export JQL filters source

Christopher Reeve
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!
August 2, 2022

I would like insight on how to backup/export JQL filter's 'source' - either with Jira or a 3rd party utility.  I currently have around 80 filters and would like to backup/export all of them so if a filter is changed or accidently deleted - I would have an easy way to restore just the affected filter.

Currently doing a manual copy/paste of each filter's source and name into a text file/excel is time consuming. Also IT cannot restore just the affected filters on a Jira system restore. Making a copy of each filter within Jira would not make our IT happy because would add alot more filters and there is no folder structure in the Jira filter interface to organize.

thanks for any insight,

Chris

 

2 answers

0 votes
Nic Brough -Adaptavist-
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.
August 3, 2022

You will need to use one of the apps that helps with reporting or migrations, most of them can list out filters.

Or you can scrape them over the REST API.

0 votes
Dennis Grochowski
Contributor
August 2, 2022

You can easily get all the required information through a simple database query.

Try this:

select ID,filtername, authorname, reqcontent from searchrequest where id not in (select entityid from sharepermissions where entitytype='SearchRequest');
Nic Brough -Adaptavist-
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.
August 3, 2022

Not on Cloud you can't

Suggest an answer

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

Atlassian Community Events