Automatically create filters

Alon Erez
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.
January 29, 2013

Hi,

I'm looking for a way to create filters for a project automatically.

When I create a project there are several filters that I want to create by default for each project. Is there a simple way to do it ?

Where is the saved filters information kept ?

The only useful data I found was here:

https://developer.atlassian.com/display/JIRADEV/How+to+create+a+custom+preset+filter

But I'm looking for another way.

Thanks,

Alon

1 answer

0 votes
Renjith Pillai
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.
January 29, 2013

Don't directly manipulate the database. Do a simple script that uses curl and post JSON requests to JIRA

Docs at - http://docs.atlassian.com/jira/REST/latest/#id325922

Renjith Pillai
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.
January 29, 2013

But adding pre-set filters are best (using a plugin), since it won't clutter your instance with so many filters being listed.

Suggest an answer

Log in or Sign up to answer