unable to create a new Isssue using REST API ver. 4.4.3

Slawomir Fiedor November 27, 2011

I've been trying to create iumple Story Issue using the REST API ver. 4.4.3.

I used following json input data:

{
"fields":
{
"project":{"key": "SB"},
"summary": "test story.",
"description": "Creating of an issue using project keys and issue type names using the REST API",
"issuetype": {"id": "6"}
}
}

But what I get is "Method Not Allowed" exception (405).

The same happens even when I try to get the metadata for creating issues:

https://<HOST>/rest/api/latest/issue/createmeta?projectKeys=SB

or

https://<HOST>/rest/api/2/issue/createmeta?projectKeys=SB

throws the same exception.

When I use SOAP everything works fine.

Do you have idea if there is something that I'm missisn or is it the REST API ver. 4.4. that is notfully functional?

1 answer

1 accepted

3 votes
Answer accepted
Jobin Kuruvilla [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 Leaders.
November 27, 2011

Creating/Updating/Deleting issues via REST is supported only from JIRA 5.

http://confluence.atlassian.com/display/JIRA/JIRA+5.0+RC+1+Release+Notes#JIRA50RC1ReleaseNotes-restapiimprovements

Slawomir Fiedor November 27, 2011

Thanks for the reply

Michael Rickey January 13, 2012

When do you expect Jira 5 to be available to OnDemand customers?

As some who has just signed up, I'd like to move my open issues to Jira and the REST interface would make it a bunch easier.

Michael Knight
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 15, 2012

We expect it to be available in February some time, but this is subject to change.

Suggest an answer

Log in or Sign up to answer