Skip to content

Creating issues broken with JIRA v9 #299

@NaanProphet

Description

@NaanProphet

Looks like net.rcarz.jiraclient.JiraClient#createIssue is broken with JIRA version 9.

I found some documentation that outlines why the endpoint has been removed: https://confluence.atlassian.com/jiracore/createmeta-rest-endpoint-to-be-removed-975040986.html

The same article suggests the following solution, which would require rewriting the URI calls that occur in net.rcarz.jiraclient.Issue#getCreateMetadata

Modify the calls the integrations use to the following:

RETURN A LIST OF PROJECTS
/rest/api/2/project 

RETURN A LIST OF ISSUE TYPES GIVEN A PROJECT
/rest/api/2/issue/createmeta/{projectIdOrKey}/issuetypes

RETURN A LIST OF FIELDS GIVEN A PROJECT AND AN ISSUE TYPE
/rest/api/2/issue/createmeta/{projectIdOrKey}/issuetypes/{issueTypeId} 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions