Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get all the issue types under a Project?

jmweli
Contributor
November 6, 2023

Hi Atlassian Community Developers,

 

I am currently working a project where I am integrating Jira with ServiceNow.

I have a requirement to get all the issues under a specific project in Jira. In going through the Jira API documentation I came across this API which however does not seem to work for me: 

/rest/api/2/issue/createmeta/{projectIdOrKey}/issuetypes

 When I try the above API I get the error as shown in the attached screenshot.

Do you guys know why this is not working for me? 

Is there an alternative to this API that I can use to accompJira API Issue.PNGlish what I am looking for. 

Kindly advise please.

Thanks,

Johannes

 

2 answers

1 accepted

0 votes
Answer accepted
Manon Soubies-Camy
Community Champion
November 5, 2018

Hello @Sebastian_Wenner,

The action "Move issue" is indeed not available as of now, CodeBarrel shares a workaround here: Move an issue. Cloning and deleting an issue instead of moving it is usually the best solution.

If you'd rather script the move, I'd recommend to read this recent thread: Post Function to move an issue to another project.

Hope this helps!

- Manon

Sebastian_Wenner
November 5, 2018

Thanks for the pointers. I missed that one on the documentation - my bad.

*thumbs.up*

Like Manon Soubies-Camy likes this
0 votes
Yogesh Mude
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 Champions.
November 5, 2018

Hi @Sebastian_Wenner

Welcome to the  Community!

This can not easy as you are thinking because every project has their own configurations like Workflow, fields, screens etc...

You can do with some custom script, power script etc add-ons.

Suggest an answer

Log in or Sign up to answer