Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Trying result API to get Jira issue numbers

james_mckean
Contributor
March 18, 2025

I have been trying to use the API:

/result/{projectKey}-{buildKey}-{buildNumber : ([0-9]+)|(latest)}?expand&favourite&start-index&max-results

my version is:  ...rest/api/latest/<projKey>-<planKey>-<buildNumber>?expand=jiraIssues

My goal is to get the associated Jira Issue keys and if possible, the fixVersion for each issue.

In my test environment I have 2 powershell scripts to act as source code and I have confirmed that all commits to those contain Jira Issue keys.

The return has a lot of information about the run, but not the JiraIssues:

   'jiraIssues': {'size': 0, 'start-index': 0, 'max-result': 0}

 

I have 2 questions:

1. does the information re: Jira issues associated come from the commit messages for the source code or am I missing something in my test environment?

2. Is there a better API to get this data?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events