Hello,
i need to post an internal comment in jira.
i tried with below jason in body -
“{ ““body””: “””+in_Config(“External Comment- Move to hekpdesk”).ToString+“”“, ““public””: false}”
“{ ““body””: “””+in_Config(“External Comment- Move to hekpdesk”).ToString+“”“, ““public””: true}”
for false it should post it as internal but for both it is posting as eternal comment only
help me to resolve this, i need to post an internal comment
@Mathkar_kunal
Instead of ““public””: true, try "internal": true
Hi @Mathkar_kunal
Could you please confirm the endpoint type.
Is it Jira Cloud REST API or ServiceDesk API ?
Regards,
Christopher
we are using cloud rest api
https://s2api.******com/jira/rest/api/2/issue/Ticket Key/comment
hello,
tried as per suggestion, but still updating as external- “{ ““body””: “””+in_Config(“External Comment- Move to hekpdesk”).ToString+“”“, ““internal””: true}”
u can see viewable by all users.
\we need different role to be selected so it will go as internal - e-Collborative Role Manager to be seelcted
how can i achieve that
issue got resolved i use below body-
“{”“body”“: ““Test2"”,”“visibility””: {““type””: ““role””,““value””: ““e-Collaborative Role Manager””}}"