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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events