Forums

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

My jira rest api is not working

bhushanmcn
May 29, 2018

Error Occured! CURL HTTP Request Failed: Status Code : 400, URL:https://----/rest/api/2/issue Error Message : {"errorMessages":[],"errors":{"issuetype":"issue type is required"}}

1 answer

1 vote
Nic Brough -Adaptavist-
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.
May 29, 2018

I'm guessing you are issuing a "create issue" call, and not giving it a valid issue type.

bhushanmcn
May 29, 2018

Please can you send me example in php

Nic Brough -Adaptavist-
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.
May 29, 2018

I don't know php well enough.  But it's not the php that is the problem, it's what you are putting in the call with it.  Have a look at what you are sending, and check that you are giving it a valid issue type.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events