Change a board's filter via REST API

Peter Dittman December 5, 2013

Is there a way to change a JIRA Agile scrum board filter via the REST API?

5 answers

3 votes
Zul NS _Atlassian_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 5, 2013

Here you go

https://localhost:8080/rest/greenhopper/1.0/rapidviewconfig/filter

With the following JSON data

{"id":7,"savedFilterId":"10000"}

Where id is the board ID (RapidView), and savedFilterId is the filter ID

2 votes
Asad Ahmed April 10, 2014

Hi

Is there a way to retrieve the savedfilter query or id using the rest api that is being used by a rapid board?

Regards

Asad

Markus Wissekal August 5, 2015

Hi Asad! Yes, that is possible: https://YOUR_JIRA_SERVER/rest/greenhopper/1.0/rapidviewconfig/editmodel.json?rapidViewId=ID_OF_YOUR_BOARD you get a massive JSON with all the information you could possibly need (filterID, swimlanes, Board Name,..)

1 vote
MattS
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, 2016

Maybe this undocumented one works? Not sure if it's used in JIRA Software 7.0 though

PUT https://example.com/rest/greenhopper/1.0/rapidviewconfig/filter
* {
* "id":1331,
* "savedFilterId":"13318"
* }
*
* where id is the id of the agile board we want to update and
* savedFilterId is the id of an existing filter

Jnr November 20, 2020

this one works like a charm even in 2020, the api parameters can be found rest api explorer plugin in jira :)

0 votes
Jira-Admins February 9, 2017

This is not working in JIRA 7.1.1 . Any inputs?

0 votes
MattS
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 28, 2016

No, editmodel in REST does not support put

Suggest an answer

Log in or Sign up to answer