Hi John,
The data format for description needs to be in the Atlassian document format if using the rest API in cloud. You can see an example on the following page:
https://blog.developer.atlassian.com/creating-a-jira-cloud-issue-in-a-single-rest-call/
Try using that format in postman. Trying the format you are using in cloud gives the following error on my test
"Operation value must be an Atlassian Document (see the Atlassian Document Format)"
Also are you trying this on a company managed project (classic) or a team managed project (Next-gen) ? and what API endpoint are you using /rest/api/2 or /rest/api/3
3 is in beta and supports the Atlassian document format. 2 would accept the format you have
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, I think it is classic, I tried with the Atlassian document format and I still get the same issue on api/3.
{
"fields": {
"summary": "JL - Test",
"issuetype": {
"id": "10052"
},
"project": {
"key": "SOCALERT"
},
"description": {
"type": "doc",
"version": 1,
"content": [
{
"type": "paragraph",
"content": [
{
"text": "This is the description.",
"type": "text"
}
]
}
]
}
}
}
I have changed from api/3 to api/2 and changed auth from API to basic and now it is working as expected. I guess I had something wrong somewhere.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This was very useful. Did the trick for me... In case it helps anybody else:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Get started with Jira Service Management
These short, self-paced courses will help you get up and running in Jira Service Management in just 90 minutes.
Learning Path
Adopt ITSM practices with Jira Service Management
Use this path to build your IT Service Management knowledge and earn an Atlassian certification.
Setting Up ITSM Projects in Jira Service Management
This training series helps you get started in Jira Service Management quickly with the new ITSM project template.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.