Create Comment
Definition
The "Create Comment" action allows users to add comments to a specified issue in Jira. This action is essential for team collaboration, enabling users to provide feedback, report progress, or clarify any details on a particular issue. It supports seamless integration for communication within Jira, allowing comments to be attached to specific issues based on their unique Issue Key or ID. The comment body can be customized to include relevant information, and the action returns valuable metadata about the comment, including the author, creation and update times, and any updates made to the comment.
Example Use Cases
-
Team Collaboration on Issues
Team members need to provide ongoing feedback or updates on a specific issue. Using the "Create Comment" action, they can add comments directly to the issue, making it easy for all members to stay informed on the issue's status and any required changes. -
Bug Reporting and Tracking
When reporting a bug, testers or quality assurance team members can add detailed comments on the issue to clarify the problem, offer reproduction steps, or suggest a fix. This keeps all communication in one place and allows the development team to follow up directly. -
Clarifying Requirements for a Task
A project manager or client might need to clarify specific requirements or expectations for a task. By adding comments to the issue, they ensure that everyone working on the issue has clear instructions and can ask further questions if needed. -
Progress Updates on Subtasks
For projects broken down into subtasks, the person responsible for each subtask can use comments to update their progress. This keeps everyone in the loop without the need for separate email chains or meetings. -
Automating Notification and Reminders
Automated workflows can be set up to add comments as reminders or notifications. For example, if a task is overdue, an automated comment can be created to remind the team about the deadline or necessary actions.
Inputs
-
Connection
This refers to the connection that is established between the platform and Jira. The connection is necessary to authenticate and interact with your Jira instance. Once connected, the system uses this authentication to perform actions on your behalf. -
Jira Cloud
This is the unique identifier for your Jira instance in the cloud. It helps link your Jira platform with the integration tool. When setting up the connection, you will have the option to select your Jira Cloud instance from a list of available Jira Cloud connections. This ensures that all actions are carried out in the correct Jira environment. -
Issue Key or ID
This is the unique identifier for the issue to which you want to add a comment. You can either use the Issue Key (like "PROJECT-123") or the Issue ID (a numerical value). This ensures the comment is added to the correct issue.
How to Find: The Issue Key is typically found in the issue's URL (e.g.,https://your-domain.atlassian.net/browse/PROJECT-123
), and the Issue ID is provided as part of Jira’s internal tracking system. -
Body
This is the content or text of the comment that you want to add to the selected issue. The body can contain any relevant information, such as updates, feedback, or clarifications. It's important to ensure the body is clear and concise so that team members can easily understand the message. This field is required, as it is the main content of the comment.
Outputs
-
Id
The unique identifier for the comment that was created. This ID is automatically generated by Jira when a new comment is added. It helps to uniquely reference and retrieve the comment in subsequent actions if needed. -
Body
The content or text of the comment that was created. This output returns the exact body of the comment as it was entered in the input field. It ensures that you have a record of what was written as the comment on the issue. -
Created
The timestamp indicating when the comment was created. This output provides the exact date and time when the comment was successfully added to the issue. It’s useful for tracking when updates or notes were made on a particular issue. -
Updated
The timestamp indicating the last time the comment was updated. If the comment is later edited, this field will reflect the time of that change. It helps to track changes or edits made to comments after they were initially created. -
Author Array
This provides details of the person who created the comment. The array includes the following information about the comment's author:- Active: A boolean value indicating whether the author’s account is active.
- Account id: The unique identifier associated with the author’s account.
- Email Address: The email address associated with the author’s account.
- Display Name: The name displayed for the author in Jira.
- Time Zone: The time zone of the author.
- Account Type: The type of the author’s account (e.g., standard user, admin).
-
Update Author Array
This provides details of the person who last updated the comment. Similar to the Author Array, this field includes information about the user who made the last update to the comment. It’s useful if the comment was edited or modified after being created.
Example Scenario
Situation: Issue Follow-up and Clarification
Imagine a project manager is overseeing a bug resolution in Jira. The development team has fixed a critical bug, and the manager wants to confirm the fix by asking for additional information or clarification from the developer. To facilitate the communication and ensure proper tracking, the project manager adds a comment to the issue in Jira.
Process:
- The project manager identifies the issue (e.g., "PROJ-105") where the bug was reported.
- Using the "Create Comment" action, the project manager adds a comment like:
"Please confirm if the recent update resolved the issue on the mobile version as well. Let me know if further testing is needed." - The action returns the comment details, such as the Id, Body, Created, and Author Array, ensuring the comment was properly added with relevant metadata, including who authored it and when.
Outcome:
The development team sees the comment in the issue, takes action, and may follow up with another comment. The project manager can track all comments and changes on the issue for better project management and transparency.
Updated 9 days ago