Change a board's filter via REST API

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

5 answers

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

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

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,..)

0 votes

No, editmodel in REST does not support put

0 votes

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

This is not working in JIRA 7.1.1 . Any inputs?

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

933 views 5 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot