Forums

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

Creating Issues with the Jira API

Dave Koran January 3, 2023

Hi All -

I am trying to automate some of my flows and as part of that, I want to create Jira tickets automatically. I've been following the documentation here. I am able to authenticate with no problem. However, when I call:

http://mycloudinstance.atlassian.net/rest/api/2/issue/createmeta

It returns 200, but no body data at all. I've tried variations on specific projects as I need some of the metadata to create an issue.

I suspect a permissions issue here, but I'd love some guidance on further troubleshooting. 

Thanks.

1 answer

1 accepted

0 votes
Answer accepted
Mikael Sandberg
Community Champion
January 3, 2023

The documentation you found is for Data Center, not Cloud. You can find the API for Jira Cloud here, and here is the end point that you want to use, https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-post

Dave Koran January 3, 2023

That will do it thank you. I am trying to call a POST to create an issue and it is returning 405, which doesn't make sense to me. 

Mikael Sandberg
Community Champion
January 3, 2023

Check that your authentication is correct, the Cloud API is no longer supporting username:password, instead you have to use email:<api token>

Dave Koran January 3, 2023

Yeah I am using my email:token

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events