Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Regarding API

ServiceDesk Plus September 13, 2021

The end points listed below are throwing 404 errors in Jira cloud

  1. /rest/api/2/issue/createmeta/{projectIdOrKey}/issuetypes to return a list of issue types given a project
  2. {{/rest/api/2/issue/createmeta/{projectIdOrKey}/issuetypes/ {issueTypeId}

    }} to return a list of fields given a project and an issue type

Do we have any alternative end points that can be used instead?

2 answers

0 votes
Daniel Ebers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 18, 2023

Hi @ServiceDesk Plus

it is possible to gather the information from the link Nic posted back then.

1. List of issue types that present in the project
2. List of fields in the given project and an issue type

For Cloud this is specifically the one: GET /rest/api/2/project/{projectIdOrKey}

grafik.png

Cheers,
Daniel

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 13, 2021

Those don't look like valid calls to me.  See https://docs.atlassian.com/software/jira/docs/api/REST/1000.824.0/#api/2 for the actual calls you can make.

ServiceDesk Plus September 13, 2021

Thanks will check it

will those URLs work for On-premise 

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 13, 2021

Possibly, the Server REST API is different, but similar.  I'd check the REST API docs for Server before trying it.

ServiceDesk Plus September 13, 2021

I am trying to solve the issue posted here

https://confluence.atlassian.com/jiracore/createmeta-rest-endpoint-to-be-removed-975040986.html

Can you let me know the API that has to be used in both cloud and on-premise to get these details?

1. List of issue types that present in the project

2. List of fields in the given project and an issue type

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events