The same quick filter has been setup under numerous boards in a Jira Server installation and I need to alter the quick filter. Is there a way I can find all instances of the quick filter without having to open hundreds of boards?
Hello @Tester- Amy
Not easily. Each quick filter is specific to the board it is on. Altering one on a board will have no effect on the others on the other boards.
You can use the REST API to search for all the quick filters across all the boards and change them, but you will need a programmer to help you achieve that.
Hi @Tester- Amy My name is Habib. I will do my best to help you with your request.
```
GET /rest/agile/1.0/board?type=scrum&filter=quickFilter=<quick_filter_id>
```
```
PUT /rest/agile/1.0/board/<board_id>/filter/<quick_filter_id>
```
```
{
"id": "<quick_filter_id>",
"name": "<quick_filter_name>",
"jql": "<new_jql>"
}
```
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @habib rahman
There is a serious flaw in your solution.
Where you said... "Replace `<quick_filter_id>` with the ID you found in step 1. This API endpoint will return a JSON object with an array of boards that contain the quick filter." this is not correct. The IDs of quick filters are unique per board, you cannot re-used the ID of a quick filter on one board to find 'the same filter' on another board.
Even if the IDs of the two quick filters were by some miracle identical across the two boards, the chances that they contained the same JQL would be so astronomically high as to be impossible.
The OP is looking for some mechanism to find IDENTICAL quick filters across all boards, so you solution will not work in this instance. The correct solution would be:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for bringing this to my attention. You are correct that the ID of a quick filter is unique per board, and my previous solution would not work to find identical quick filters across all boards. Your suggested solution of getting all the boards on a project, getting all the quick filters on each board, and comparing the JQL content of every single quick filter to find a match for the offending content is a valid approach to solving the problem. Thank you for providing a more accurate solution.
Thank you 🙏🏻
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.