You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I have the attachment ID within the context of an issue (e.g., id: 228845
), and I need to find the corresponding comment ID or obtain comprehensive information about the attachment within a comment context. The comment structure I receive looks like this:
{
"self": "https://sos-team.atlassian.net/rest/api/3/issue/1692568/comment/183850",
"id": "183850",
"body": {
"type": "doc",
"version": 1,
"content": [
{
"type": "mediaGroup",
"content": [
{
"type": "media",
"attrs": {
"type": "file",
"id": "2f220577-a214-4aec-8953-54dae8542db7",
"collection": ""
}
},
{
"type": "media",
"attrs": {
"type": "file",
"id": "1da161f4-bcd2-4879-93b2-70d4f74c28ca",
"collection": ""
}
}
]
},
{
"type": "paragraph",
"content": []
}
]
}
}
Is there a way to identify the comment associated with a specific attachment ID within an issue context? Alternatively, how can I obtain detailed information about the attachment within the comment context, given that the attachment ID in the comment is different from the one at the issue level?"