PublicThread for JSM adds one action to Jira Automation: Get Public Conversation (PublicThread for JSM). This page covers how to add it to a rule, what each setting does, and how to use its output in later steps.
Install the app from the PublicThread for JSM listing on the Atlassian Marketplace. See also the document index.
A minimal rule that copies the public conversation of a request into a comment, so you can see the output before building emails or reports:
{{issue.key}}. Leave the other fields at their defaults.{{fetchedJiraThread.conversationText}}. To keep the result away from customers, post it as an internal comment.{{fetchedJiraThread.commentCount}} to check how many were included.| Field | What it does |
|---|---|
| Issue Key | The Service Management request to read. Usually left as {{issue.key}} so the action runs against the issue the rule is triggered on. |
| Max Comments | How many of the most recent public comments to include (1–50). Leave blank for the default of 10. |
| Show author name | When on, each comment is prefixed with the commenter’s display name. |
| Show timestamp | When on, each comment includes when it was posted. |
| Include public replies from agents | When on (default), public replies from support agents are included alongside the customer’s own comments. Turn it off to leave out replies from agents; customers are identified as the request’s reporter and participants. If that participant information cannot be retrieved, agent replies are not excluded (public comments are still returned, and internal notes are never included). |
Internal notes are never an option here. There is no setting to include them — they are excluded unconditionally by the action’s own code, regardless of any other field.
Later steps in the rule can use the output of Get Public Conversation (PublicThread for JSM) as {{fetchedJiraThread.…}}:
| Smart Value | Contents |
|---|---|
{{fetchedJiraThread.conversationText}} | Plain-text transcript of the included comments, in chronological order. |
{{fetchedJiraThread.conversationHtml}} | The same transcript, pre-escaped and ready to paste into an HTML email body. |
{{fetchedJiraThread.commentCount}} | The number of comments included in the output. |
If your rule editor shows a different entity name for the action’s output, use the name shown there instead.
Action: Send email
To: {{issue.reporter.emailAddress}}
Subject: Update on {{issue.key}}
Body:
Hi {{issue.reporter.displayName}},
Here is the conversation so far ({{fetchedJiraThread.commentCount}} comments):
{{fetchedJiraThread.conversationText}}
{{fetchedJiraThread...}}. Make sure the Get Public Conversation step runs before the step that uses its output, and check the spelling (fetchedJiraThread, case-sensitive).Use the ASUNOKI support page or email support@asunoki.jp. Both are private channels.
Never post support details in public. Please do not open public GitHub issues or community posts containing customer names, email addresses, request content, site data, API tokens or passwords. We never need a password or token to help you. Include the app name, your site URL (for example your-company.atlassian.net), what you did and the message you saw.