Fetch multiprogram ID mapped to a Feature in Jira Align using REST API
Platform Notice: Cloud and Data Center - This article applies equally to both cloud and data center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
This article provides a REST API query to fetch Multiprogram details mapped to a Feature.
Solution
In Jira Align Rest API, multiprogram details are available as 'additionalProgramIds'.
To fetch all Features with "additionalProgramIds=38", use the below query. This will fetch all the features with Program ID 38 added in the Multi-Program feature.
1
https://*******.jiraalign.com/rest/align/api/2/features?$filter=additionalProgramIds/any(p: p eq 38)
To fetch all Features with "primaryProgramId=55"
1
https://********.jiraalign.com/rest/align/api/2/features?$filter= primaryProgramId eq 55
More details on framing the query using REST API can be found here:
https://help.jiraalign.com/hc/en-us/articles/360060894632-API-2-0-query-syntax#:~:text=currently%20not%20supported.-,Collections,-The%20API%202.0
Was this helpful?