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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,390
Community Members
 
Community Events
176
Community Groups

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 Community Leader Jan 18, 2023

Hi @ServiceDesk Plus Cloud

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

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.

Thanks will check it

will those URLs work for On-premise 

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

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

Atlassian Community Events