Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there an api to change the audience of a comment via API ?

suchika_singh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 4, 2018

Is there an api to change the audience of a comment via API ?

For our JIRA instance , we can set the audience of every comment to a particular group . Is there an API to change it ?

jira.png

1 answer

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 4, 2018
Ravi Varma
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 4, 2018

Hi @suchika_singh,

In addition to the REST API response posted by @Alexey Matveev, you can explore the below JIRA Java API if this works for you

  • Auto wire CommentManager in your Java code
  • Get the respective comment that needs to be updated
  • Update the extracted comment with relevant groups and other properties
  • Update the comment using updateComment method in CommentManager

Hope this helps.

Regards,

Ravi Varma

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events