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

This widget could not be displayed.

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

This widget could not be displayed.

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

This widget could not be displayed.

No, editmodel in REST does not support put

This widget could not be displayed.

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 widget could not be displayed.

This is not working in JIRA 7.1.1 . Any inputs?

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Apr 22, 2018 in Jira Software

How-to setup a secured Jira Software 7.9.0 on Ubuntu 16.04.4 in less than 30 minutes

...PermissionsStartOnly=true User=www-data Group=www-data ExecStart=/opt/jira/bin/startup.sh ExecStop=/opt/jira/bin/shutdown.sh TimeoutStartSec=120 TimeoutStopSec=600 PrivateTmp=true [Install] WantedBy...

1,027 views 5 9
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