Automate creation of Quick Filters

Patrick Fuerchau July 25, 2018

Hi together, 

I'm currently setting up a board and I want to create/update quick filters based on the ticket status. 

Example:

Ticket is created and open --> create quick filter for the related board
Ticket is closed --> delete quick filter in the related board

Is there a way to create/update quick filters automatically or do I have to create all filters manually?

Thanks in advance

Patrick

1 answer

0 votes
Mauricio Karas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 8, 2018

Hello, Patrick.

Natively in Jira, there's no feature to automatically create filters, they need to be created manually through the GUI.

What you can do to work around this, is use Jira's REST API. You can create a script that uses the REST calls to create and delete a filter:

POST /rest/api/2/filter

DELETE /rest/api/2/filter/{id}

To know when a ticket was created or closed you could use other REST API calls to get a list of issues or specific issues and check if they were closed or if there are new ones.

You can also use the Webhook feature where you can set a trigger, e.g. "issue.created" and "issue.resolved", that will call an URL everytime an issue is created or resolved.

Kind regards,
Maurício Karas

Oskar Austegard May 26, 2021

You're answering about filters - his question is about Quick Filters (on agile boards)

Suggest an answer

Log in or Sign up to answer