Will the Filter Queries using the original value (Team) change to new value (Core Team) automatically OR need to update all Filter Queries manually one by one?
Looking forward to your help!
Cheers Patrik
If I understand your question, you have multiple saved filters which reference a value (e.g. Team) from a multiple-select field, and that value has changed (e.g. Core Team).
You will need to manually update each filter.
To help identify the filters impacted, you could use a browser to call the REST API function to list the filters, and expand to show the JQL: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-filters/#api-rest-api-3-filter-search-get
For example:
yourJiraUrl/rest/api/3/filter/search?expand=JQL
And then search in the results to find the ones to change.
This will list up to 50 filters and can be increased to 100 with the maxResults parameter. If there are more filters to check, you may page through them with startAt parameter.
Kind regards,
Bill
Hi Bill, thanks for helping me. I tried the REST API and found 5 filters that needs to be changed.
Super thanks for swift help.
Have a great day,
Cheers Patrik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bill, some further questions on the same topic.
In our instance of Jira Cloud we have some 2000+ filters.
-How do I do to step through all filters (as you proposed earlier) making sure I have full coverage in my search of impacted filters?
-How do I increase the maxResult parameter to 100?
Cheers Patrik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your second question is easy to answer: add the maxResults parameter.
yourJiraUrl/rest/api/3/filter/search?expand=JQL&maxResults=100
The more challenging one is paging through blocks of 100 using the startAt parameter. This is typically done with code in an application or script, although you could do it manually. For example, progressively increase the parameter and save the results for each:
yourJiraUrl/rest/api/3/filter/search?expand=JQL&maxResults=100&startAt=0
yourJiraUrl/rest/api/3/filter/search?expand=JQL&maxResults=100&startAt=100
yourJiraUrl/rest/api/3/filter/search?expand=JQL&maxResults=100&startAt=200
...
yourJiraUrl/rest/api/3/filter/search?expand=JQL&maxResults=100&startAt=2000
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Patrik Hoglund
Filter queries are based on JQL which is representing the board. Are Team and Core Team custom fields?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The name of the custom field is Project/Team, its of the type Select List (multiple choices). The list consists of 47 options where the value Team is requested to be changed (renamed) to Core Team.
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.