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?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.