Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
70 views
in Technique[技术] by (71.8m points)

Jira Add Internal Comment JSON syntax

I am trying to add an internal comment to an existing Jira ticket. I am able to add a comment, but it is not internal. I looked at this url How to create an internal comment on a jira issue using the JIRA Cloud REST API, but I cant see from this the proper syntax.

Here is what I have at the moment, and although the JSON syntax is correct, I suspect it is not the right format for Jira.

   "body":{
      "type":"doc",
      "version":1,
      "content":[
         {
            "type":"paragraph",
            "content":[
               {
                  "text":"This text was added using thwe rest-api. test kb1",
                  "type":"text"
               }
            ]
         }
      ]
   },
   "properties":{
      "key":"sd.public.comment",
      "value":{
         "internal":true
      }
   }
}

I have tried various different formats and search on the Jira KB, but I just cant see what the proper format is. Can you please help?

question from:https://stackoverflow.com/questions/65934481/jira-add-internal-comment-json-syntax

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...