JiraPS
JiraPS copied to clipboard
Get-JiraIssueCreateMetadata use outdated endpoint
https://github.com/AtlassianPS/JiraPS/blame/6499feafb441e34c8b29c1aca4acf20c3999fb40/JiraPS/Public/Get-JiraIssueCreateMetadata.ps1#L24
as you mentioned on https://developer.atlassian.com/server/jira/platform/jira-rest-api-examples/#jira-versions-8-4-and-later https://confluence.atlassian.com/jiracore/createmeta-rest-endpoint-to-be-removed-975040986.html
the Call should use new REST endpoint http://localhost:8080/rest/api/2/issue/createmeta/{projectIdOrKey}/issuetypes/{issueTypeId}
reason for this issue: I got error message "Issue Does Not Exist" on large Jira Instance
I've got the same error when getting CreateMetadata. I'm not able to create new issues with New-JiraIssue from the JiraPS libary, because it is calling Get-JiraIssueCreateMetadata within this function and fails.
An updated version of Get-JiraIssueCreateMetadata with the new REST endpoint is welcome!
Jira-PS module is no longer useable with officially released version.
It would be nice to finally merge commit which fix it: https://github.com/spicy/JiraPS/commit/fc2632c1f21b3867667197ec2c8e77b266e60e69