Skip to content

Createmeta REST endpoint was removed in REST API v2 #33

@BurstX

Description

@BurstX

Description

Cmdlet Jira-NewIssue does not work as of 2025-10-29, because it uses outdated API.

See official support article where the new API endpoints are provided:

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} `

Steps To Reproduce

PowerShell 5 (Windows 11):

$parameters = @{
    Project = 'PRJCT'
    IssueType = 'Task'
    Priority = 1
    Summary = 'summary'
    Description = 'description'
}
New-JiraIssue @parameters -Credential $cred

Expected behavior

Output with the created task's data.

Screenshots

Instead, the code sample produces the output:
Image

Your Environment

Image

Possible Solution

  1. Replace the endpoint URL with the recommended ones from support article
  2. Workaround (not so convenient though)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions