Im using the following body to close a ticket via REST API v3
Found here : https://community.atlassian.com/t5/Jira-questions/Close-Jira-Issue-via-REST-API/qaq-p/1845399
This is my POST URL
https://*****.atlassian.net/rest/api/3/issue/CIT-3/transitions?expand=transitions.fields
Hi @Cyberlogic Integration User
Welcome to the community.
Can you please take a look at Jira Cloud Rest Api doc? (look at comment in a request)
It does not specifically show me how to close issues.
I would like to just get the json to get this right.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What about using the following for comment in a body:
"comment": [
{
"add": {
"body": {
"type": "doc",
"version": 1,
"content": [
{
"type": "paragraph",
"content": [
{
"text": "Resolved via automation.",
"type": "text"
}]}]}}}]
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.