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.
Still I am getting same error after using above thing
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.