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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Schuster
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

11,969 views 15 13
Join discussion

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