Is there a way to retrieve objectives by feature ids?
Hi @Chris Cheah the following query will likely satisfy your need:
curl -X GET 'https://instance.jiraalign.com/rest/align/api/2/Objectives?$select=id&filter=featureIds/any(d: d eq 557)' -H 'accept: */*' -H 'Authorization: bearer MyObfuscatedToken'
The teardown is as follows:
featureIds/any(d: d eq 557)
The API call result should look like this:
[{"id":555},{"id":571}]
Each number in this JSON response body is the ID of a related Objective.
Please refer to Help Center articles 10X: API 2.0 for further details on filters, query syntax, and encoding.
Exactly what I am looking for!
It looks like you're new here. Sign in or register to get started.