Open zombieleet opened 2 years ago
calling the getChangelog() endpoint with an issueNumber causes the below error
getChangelog()
issueNumber
null for uri: https://jira.[company-name].com/rest/api/2/issue/ISSUE-KEY/changelog?startAt=0&maxResults=50
This PR fixes the issue by doing the below
expand
changelog
"/changelog"
pathname
(/issue/${issueNumber/)
This issue was also present in the dotnet implementation as well, which was fixed using this approach https://github.com/solidify/jira-azuredevops-migrator/issues/13
They look like two different endpoints:
I am not familiar with Jira API, but I'd prefer to recommend getIssue(..., ..., "changelog") instead of turning getChangelog into an alias of getIssue
getIssue(..., ..., "changelog")
getChangelog
getIssue
calling the
getChangelog()
endpoint with anissueNumber
causes the below errorThis PR fixes the issue by doing the below
expand
property with value ofchangelog
to the query object"/changelog"
path as a suffix topathname
(/issue/${issueNumber/)
This issue was also present in the dotnet implementation as well, which was fixed using this approach https://github.com/solidify/jira-azuredevops-migrator/issues/13