Cross-Provider Workflow

Jira Issue with Triage Comment to Slack

Version 1.0.0

Create a Jira issue, add a triage comment, then notify Slack.

1 workflow 2 source APIs 2 providers
View Spec View on GitHub ArazzoWorkflowsCross-Provider

Providers Orchestrated

jira slack

Workflows

issue-comment-slack
Create a Jira issue, comment on it, then post to Slack.
Creates a Jira issue, adds a triage comment to it using the returned issue key, and posts the issue reference to a Slack channel.
3 steps inputs: description, jiraProjectKey, slackChannel, summary, triageComment outputs: commentId, issueKey, messageTs
1
create-issue
$sourceDescriptions.jiraApi.createIssue
Open a Jira issue for the reported problem.
2
add-comment
$sourceDescriptions.jiraApi.addComment
Add a triage comment to the new Jira issue.
3
notify-slack
$sourceDescriptions.slackChat.postChatPostmessage
Post the issue reference to a Slack channel.

Source API Descriptions

Arazzo Workflow Specification

itsm-jira-issue-comment-to-slack.yml Raw ↑
arazzo: 1.0.1
info:
  title: Jira Issue with Triage Comment to Slack
  summary: Create a Jira issue, add a triage comment, then notify Slack.
  description: >-
    A cross-provider ITSM workflow that opens a Jira issue, adds an initial triage
    comment capturing first-response notes, and posts the issue reference to the
    engineering Slack channel. Demonstrates orchestrating an issue tracker with a
    team messaging provider across an issue's intake in a single Arazzo workflow.
  version: 1.0.0
sourceDescriptions:
  - name: jiraApi
    url: https://raw.githubusercontent.com/api-evangelist/jira/refs/heads/main/openapi/jira-cloud-platform-rest-api-openapi.yml
    type: openapi
  - name: slackChat
    url: https://raw.githubusercontent.com/api-evangelist/slack/refs/heads/main/openapi/slack-chat-openapi.yml
    type: openapi
workflows:
  - workflowId: issue-comment-slack
    summary: Create a Jira issue, comment on it, then post to Slack.
    description: >-
      Creates a Jira issue, adds a triage comment to it using the returned issue
      key, and posts the issue reference to a Slack channel.
    inputs:
      type: object
      properties:
        jiraProjectKey:
          type: string
        summary:
          type: string
        description:
          type: string
        triageComment:
          type: string
        slackChannel:
          type: string
    steps:
      - stepId: create-issue
        description: Open a Jira issue for the reported problem.
        operationId: $sourceDescriptions.jiraApi.createIssue
        requestBody:
          contentType: application/json
          payload:
            fields:
              project:
                key: $inputs.jiraProjectKey
              summary: $inputs.summary
              description: $inputs.description
              issuetype:
                name: Bug
        successCriteria:
          - condition: $statusCode == 201
        outputs:
          issueKey: $response.body#/key
      - stepId: add-comment
        description: Add a triage comment to the new Jira issue.
        operationId: $sourceDescriptions.jiraApi.addComment
        parameters:
          - name: issueIdOrKey
            in: path
            value: $steps.create-issue.outputs.issueKey
        requestBody:
          contentType: application/json
          payload:
            body: $inputs.triageComment
        successCriteria:
          - condition: $statusCode == 201
        outputs:
          commentId: $response.body#/id
      - stepId: notify-slack
        description: Post the issue reference to a Slack channel.
        operationId: $sourceDescriptions.slackChat.postChatPostmessage
        requestBody:
          contentType: application/x-www-form-urlencoded
          payload:
            channel: $inputs.slackChannel
            text: A new Jira issue has been opened and triaged.
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          messageTs: $response.body#/ts
    outputs:
      issueKey: $steps.create-issue.outputs.issueKey
      commentId: $steps.add-comment.outputs.commentId
      messageTs: $steps.notify-slack.outputs.messageTs