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

1 vote

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 vote

No, editmodel in REST does not support put

0 vote

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 21, 2018 in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

1,022 views 7 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