Sync Jira issue comments to Slack via lookup table

BotsArtificial IntelligenceSales EnablementProject ManagementMarketingRecipe Tools

What it does

When someone runs the Jira list comments command in Slack, this automation searches Jira for all issues and retrieves comments for each one. The lookup table is updated or populated based on whether each issue key already exists.

Who it's for

Engineering teams who need to track Jira issue comments in a centralized lookup table without manual updates.

How teams use this

Track issue comments in one place

Run the Jira list comments command to pull all issues and their comments into a lookup table. The team can reference comment history without switching between Slack and Jira.

Notify the channel of new comments

Extend this automation to send a Slack message when a comment is added to an issue. Include the issue key and comment text so the team stays informed in real time.

Archive resolved issues from the table

Retarget this automation to run on a schedule and remove entries from the lookup table when the Jira issue status is closed or resolved. The table stays current with active work.

How it works

  1. Run the Jira list comments command. Type the Jira list comments command in a Slack channel to start syncing issue data and comments to the lookup table.
  2. Search for all Jira issues. Query Jira to retrieve all issues that will be processed in this automation so their comments can be fetched and synced.
  3. Get comments for each issue. For each issue found in Jira, fetch all comments associated with it so the full comment history is available for the lookup table.
  4. Update or add issue data. Check if the Jira key exists in the lookup table. Update the entry if it exists, or add a new entry if it does not.