I want to get the filters which are shared for specific project?
For example:
Get all filters: Due this week (ATD), Open and unassigned (ATD) and Overdue (ATD) For project ATD
How can I do it?
It could be nice if I can get via REST.
I can get all filters via this script
ApplicationUser user = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser();
searchRequestList = new ArrayList<>(searchRequestService.getOwnedFilters(user));
Thanks,
This is something you can search for in the Jira Web UI. If you where to click that Search link on your screenshot, you can search by shared with project xyz:
However, I have not found a quick way to do this via the REST API in Jira. The REST API will allow you to find details of a share by calling the endpoint GET /rest/api/2/filter/{id}. However this endpoint requires you to know the ID of the filter in question. There isn't a REST endpoint that you can call to get a list of all filters that match a share criteria at this time within Jira's REST API right now.
Thank you,
But I search for develop solution,
Cheers,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.