capabilities.work

Read an Issue Comment Thread and Reply

A 3-step recipe with Jira. We can help you get access.

Recipe · 3 steps

Read an Issue Comment Thread and Reply

with Jira
Works with AI assistants

Read a Jira issue comment thread and append a reply to it.

  1. Read the issue to confirm it is visible to the caller and to capture the summary and status that give the thread its context.
  2. Page the comment thread oldest-first, rendering bodies to HTML so the caller can mirror the thread without parsing Atlassian Document Format.
  3. Post the reply into the thread as an Atlassian Document Format document, optionally restricting it to a single project role.
What you'll need to have ready
  • issueIdOrKey: The id or key of the issue whose thread is being read and replied to.
  • commentText: The plain text body rendered into the Atlassian Document Format comment.
  • maxResults: The maximum number of comments to return in the page.
  • visibilityRole: The project role name the comment is restricted to (e.g. Administrators). Omit to post a comment visible to all who can view the issue.
For your developer

Arazzo workflow jira:comment-thread-reply, 3 operations: getRestApi3IssueByIssueIdOrKey → getRestApi3IssueByIssueIdOrKeyComment → postRestApi3IssueByIssueIdOrKeyComment. Specs on APIs.io.