Export Jira issue comments without tags

Project ManagementRecipe Tools

What it does

When someone updates or adds a comment in Jira, this automation fetches all comments for that issue. It removes markup from each one and logs the clean text so the team can review without formatting noise.

Who it's for

Engineering teams who need to extract plain text from Jira comments for analysis or reporting.

How teams use this

Extract comments for compliance review

Pull all comments from a Jira issue, strip markup, and log them to a report so the team can audit the conversation without formatting noise. The process runs automatically each time a comment is added.

Feed clean comments to a downstream system

Send the plain text comments to a logging or analytics tool instead of the job report. Only the output destination changes; the extraction and tag removal stay the same.

Filter comments by issue type or status

Add a condition so this automation only runs on comments in issues marked as bugs or security tickets. Include a check for the issue type before fetching and processing comments.

How it works

  1. Monitor for new or updated comments. A new or updated comment appears in Jira in real time, and this automation starts.
  2. Fetch all comments for the issue. Retrieve the full list of comments on that Jira issue using the standard get issue comments method in Jira.
  3. Extract rendered comment text. Call the custom Jira action with renderedBody expand to pull the formatted comment content and response body from Jira.
  4. Strip markup and encode text. Remove all markup tags from each comment and encode the result as UTF-8 so the text is plain and readable.
  5. Log clean comments to the job report. Write the plain text comments to the job report so the team can review them without any markup or formatting.