Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,464,070
Community Members
 
Community Events
176
Community Groups

How do I get only the External comments using Python API?

I am working on a Project in which I need to parse through multiple comments and get the latest external comment and details about it. But I couldn't find any way using the python API. Is there a way to get the external comments ?

 

1 answer

0 votes
Darryl Lee Community Leader Dec 01, 2022

Hi @Sree Deepak -- 

If you're talking about External comments, can I presume you're talking about a Jira Service Management project with Internal and External Comments?

If so, then I think you'll need to try and find comments where the attribute jsdPublic is true.

So you'll probably need to iterate through all the comments on an issue, and only display/do whatever you need to do:

 if comment.jsdPublic == true:

Please let us know if that works, and share your code and any errors if you have them.

Suggest an answer

Log in or Sign up to answer