Jira · Arazzo Workflow

Jira Read an Issue Comment Thread and Reply

Version 1.0.0

Read an issue, page through its comment thread oldest-first, then add a reply.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub AgileIssue TrackingITSMProject ManagementService ManagementArazzoWorkflows

Provider

jira

Workflows

comment-thread-reply
Read a Jira issue comment thread and append a reply to it.
Confirms the issue is visible, retrieves a page of its comments ordered by creation date, and posts a new comment in Atlassian Document Format.
3 steps inputs: commentText, issueIdOrKey, maxResults, visibilityRole outputs: commentId, issueKey, threadSize
1
readIssue
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
readComments
Page the comment thread oldest-first, rendering bodies to HTML so the caller can mirror the thread without parsing Atlassian Document Format.
3
addReply
Post the reply into the thread as an Atlassian Document Format document, optionally restricting it to a single project role.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Jira Read an Issue Comment Thread and Reply
  summary: Read an issue, page through its comment thread oldest-first, then add a reply.
  description: >-
    The support-bridge pattern, where an external system mirrors a Jira comment
    thread and posts back into it. The workflow reads the issue for context,
    pages the comment thread in creation order so the reply is written against
    the actual latest state of the conversation rather than a stale cache, and
    then adds a comment with optional role-restricted visibility. Every step
    spells out its request inline so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: issueCommentsApi
  url: ../openapi/jira-issue-comments-api-openapi.yml
  type: openapi
- name: issuesApi
  url: ../openapi/jira-issues-api-openapi.yml
  type: openapi
workflows:
- workflowId: comment-thread-reply
  summary: Read a Jira issue comment thread and append a reply to it.
  description: >-
    Confirms the issue is visible, retrieves a page of its comments ordered by
    creation date, and posts a new comment in Atlassian Document Format.
  inputs:
    type: object
    required:
    - issueIdOrKey
    - commentText
    properties:
      issueIdOrKey:
        type: string
        description: The id or key of the issue whose thread is being read and replied to.
      commentText:
        type: string
        description: The plain text body rendered into the Atlassian Document Format comment.
      maxResults:
        type: integer
        description: The maximum number of comments to return in the page.
        default: 50
      visibilityRole:
        type: string
        description: >-
          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.
  steps:
  - stepId: readIssue
    description: >-
      Read the issue to confirm it is visible to the caller and to capture the
      summary and status that give the thread its context.
    operationId: getIssue
    parameters:
    - name: issueIdOrKey
      in: path
      value: $inputs.issueIdOrKey
    - name: fields
      in: query
      value:
      - summary
      - status
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      issueId: $response.body#/id
      issueKey: $response.body#/key
      issueSummary: $response.body#/fields/summary
  - stepId: readComments
    description: >-
      Page the comment thread oldest-first, rendering bodies to HTML so the
      caller can mirror the thread without parsing Atlassian Document Format.
    operationId: getComments
    parameters:
    - name: issueIdOrKey
      in: path
      value: $inputs.issueIdOrKey
    - name: startAt
      in: query
      value: 0
    - name: maxResults
      in: query
      value: $inputs.maxResults
    - name: orderBy
      in: query
      value: created
    - name: expand
      in: query
      value: renderedBody
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      total: $response.body#/total
      comments: $response.body#/comments
      latestCommentId: $response.body#/comments/0/id
  - stepId: addReply
    description: >-
      Post the reply into the thread as an Atlassian Document Format document,
      optionally restricting it to a single project role.
    operationId: addComment
    parameters:
    - name: issueIdOrKey
      in: path
      value: $inputs.issueIdOrKey
    - name: expand
      in: query
      value: renderedBody
    requestBody:
      contentType: application/json
      payload:
        body:
          type: doc
          version: 1
          content:
          - type: paragraph
            content:
            - type: text
              text: $inputs.commentText
        visibility:
          type: role
          value: $inputs.visibilityRole
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      commentId: $response.body#/id
      commentAuthor: $response.body#/author/displayName
      commentCreated: $response.body#/created
      renderedBody: $response.body#/renderedBody
  outputs:
    issueKey: $steps.readIssue.outputs.issueKey
    threadSize: $steps.readComments.outputs.total
    commentId: $steps.addReply.outputs.commentId

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/jira-comment-thread-reply-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.