Using Jira Align API to Filter Work Items by the end of any text field
Summary
Sometimes it is required to filter Work Items by the end of a text field.
Solution
In the same way, the filter startswith can be used to filter text fields starting with some character and/or string, it is possible to filter any text field using endswith as well.
As an example, to get a list of Work Items with Blank Space at the end of the Title, just add the parameter filter=endswith(name,' ') on a GET Call similar to this:
https://[INSTANCENAME].jiraalign.com/rest/align/api/2/[ENDPOINT]?$filter=endswith(name,' ')
Last modified on Feb 23, 2024
Powered by Confluence and Scroll Viewport.