Forums

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

Ticket comments of selected users

muhammad
August 3, 2023

Hi,

 

I want to get comments only by two people on the ticket, like you can say I want to hide other comments made by the people working on the ticket. 

 

Is there a way I could fetch comments by only those two emails using Jira API or can apply restriction so that platform user who created ticket could not be able to see other internal  conversations happening on the ticket. 

1 answer

0 votes
Marc -Devoteam-
Community Champion
August 3, 2023

Hi @muhammad 

This should be possible via the Cloud rest API.

You should use the "get comments by id" option, you would need to specify the accountId's of the users.

muhammad
August 3, 2023

@Marc -Devoteam-  can I put two ids at a time or I will have to fetch by single account id separately ?

Marc -Devoteam-
Community Champion
August 3, 2023

Hi @muhammad 

I think you have to fetch them separately.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events