Add comment
- Updated: 2026/04/27
The Add comment action adds a comment to the specified Jira issue. The action returns the comment ID, author account ID, and creation timestamp.
Overview
The Add comment action adds a comment in a plain-text format. Currently rich-text HTML format or Atlassian Document Format (ADF) JSON is not supported. The Issue key and Body fields support string variables, allowing you to define the content in a string variable and select them in the appropriate fields.
Settings
- Session
- The Jira session that the
Connect action creates. The session name is used
as the authentication context for the operation. Choose one of the following
options as per the Connect action settings:
- Session name: Select the string variable that stores the session name or enter the session name manually in the text box.
- Variable: Select the Jira session variable that holds the session name.
- Issue key
- The Jira issue in which the comment must be added. For example, PROJ-123
- Body
- The text of the comment that must be added to the specified issue.
- Assign output to variable
- The output variable stores the response data after the action adds the
comment to the issue. The action returns the following response data:
commentId- The ID of the comment.author- The account ID of the user who adds the comment.created- The timestamp of the comment in ISO 8601 format. For example,2021-01-17T12:34:00.000+0000.
Use one of the following options to store the response data:
- Multiple variables: Create and specify
individual variables to store specific response data.
Use the Add variable mapping option to specify the key and corresponding variable type to store the specific response data.
- Dictionary: Create and specify a dictionary variable to store the entire response data.