The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Using python to pull Issues and Comment History

Ashith Bolar
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!
December 7, 2023

I use a REST API to pull comments on issues that have been either "created" or "updated" in the last hour. 

/rest/api/2/search?jql=updated%3E-1d%20OR%20created%3E=-1d&expand=changelog

However, I can't find a flag that shows which comments are "public" vs "internal".

I noticed that one can use /rest/servicedeskapi/request/{issue-key}/comment, to get this flag. Problem with using this api is, I can only get comments for a single ticket, rather than bulk tickets as in the previous case.

Is there anyway I can use JQL to extract comments which includes the "public" or the "visibility" flag?

Thank you

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events