Using the Rest API to create jira tickets (for non Jira Users to submit issues).
I'm using the following JSON:
{
"fields": {
"project":
{
"key": "FR"
},
"summary": "[entry.summary]",
"description": "[entry.details]",
"issuetype": {
"name": "NEW FEATURE"
}
}
}
I've also tried NEW FEATURE as Regular Case and using
"issuetype": {
"id": "2"
}
I get the following response
{"errorMessages":[],"errors":{"issuetype":"issue type is required"}}
Any pointers on where I'm going wrong?
Hi @Guy Walker
It look like you add wrong issue type name or id.
Please list all issue types and check if you use correct name or id (<JIRA_url>/rest/api/2/issuetype)
Regards,
Seba
Hi Seba,
The only issue time I'm using in this specific FR Project is New Feature:
I'm pulling the ID number from the Issue Type Edit URL:
https://jira.12345.com/secure/admin/EditIssueType!default.jspa?id=2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
What url you have in your request?
Seba
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm actually using a confluence plugin but it seems to be using https://jira.lucidworks.com/rest/api/latest/issue/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Provide an issue type as in Bug, Story, Task or Epic
E.g.:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.