This is how to find the values to insert in the JSON syntax when completing the Team and ART field mappings in the ALM Connections or #5 ART Backlog Board configuration (only for single ART PI sessions). The two main approaches are:
Jira Issue Export XML option
Jira Software REST API in the browser or tool of choice
Find Custom Field values in Jira Issue Export XML
Find Custom Field values in Jira Issue Export XML
Open a Jira Issue (Story, Epic) that has the fields we want to use in the Team field mapping.
Click the Actions menu with the three ellipsis ... in the top right corner.
Select Export XML at the bottom of the Actions dropdown menu.
Search the XML to find the Custom Field ID and the associated value or ID associated with it. This is the value to use in the JSON syntax for Team field mapping.
Figure I: Jira Issue Export XML menu option.
Find Custom Field values in Jira Issue REST API call
Find Custom Field values in Jira Issue REST API call
Prerequisite: Edit the following URL by replacing the values inside the angle brackets.
http://<subdomain>.atlassian.net/rest/api/3/issue/<issue-key>
Copy and paste the URL below into a browser window. Note: please, be sure to have another browser tab open that is logged in and authenticated to Jira Software.
The JSON response to that URL will be displayed in the browser. Either use the find function (Cmd+F) in your browser to search the JSON response or copy the JSON into a text editor of your choice to easily parse the JSON
Example: Parsing the XML or JSON for Jira Team field
Example: Parsing the XML or JSON for Jira Team field
An example of the new Jira Team field being used for the Team field mapping
JSON Syntax:
ALM Connections > Team Mapping > Team field (optional)
{"customfield_10001": "368af42c-e023-44b2-842c-321c83efb687"}
ALM Connections > ART Mapping > Team field mapping (Solution Train)
SAFe PIs > Session > #5 ART Backlog Board > Team field mapping (single ART)
{"368af42c-e023-44b2-842c-321c83efb687"}
You can find the Jira Team ID value in the XML as follows:
You can find the Jira Team ID in the JSON as follows: