I am using jira api to create a new issue in my jira project using this request body
{
"fields": {
"project": {
"id": 1234
},
"summary": "Summary",
"description": "",
"issuetype": {
"name": "Bug"
},
"priority": {
"name": "P3"
},
"customfield_10817": {
"id": "1234"
},
"customfield_10767": {
"id": "12343"
},
"reporter": {
"accountId": "12345"
},
"customfield_10872": {
"id": "12345"
}
}
}
{
"errorMessages": [
"Please add Ticket Type"
],
"errors": {}
}
I don't understand what is meant by Ticket Type because we are already mentioning the type of issue.
Welcome to the community!
Your JSON data looks fine. If you don't mind, can you post the REST API call url here? You can hide out the domain part if required.
Thanks,
Vamsi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is the correct API call. I hope you are using the POST call and not the GET call.
Thanks,
Vamsi
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.