Ability to add comment in Jira from a merge request
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Proposal
This use case outlines the integration between GitLab and Jira, allowing developers to add comments to Jira tickets directly from a GitLab merge request. This integration streamlines communication between development and project management teams, ensuring that relevant information is shared efficiently.
Actors
Developer: The user who creates a merge request in GitLab.
Jira User: The user who manages and tracks issues in Jira.
Preconditions The developer has access to both GitLab and Jira.
The GitLab project is integrated with the Jira project.
The developer has the necessary permissions to comment on Jira tickets.
Postconditions A comment is successfully added to the specified Jira ticket from the GitLab merge request.
Main Flow
- Create a Merge Request: The developer creates a merge request in GitLab for a feature or bug fix.
- Link Jira Issue: The developer references a Jira issue in the merge request description or title using the Jira issue key (e.g., PROJECT-123).
- Add Comment: Within the merge request, the developer finds an option to add a comment to the linked Jira issue. The developer types the comment they wish to add, providing context or updates related to the merge request.
- Submit Comment: The developer submits the comment. The integration triggers an API call to Jira, adding the comment to the specified Jira ticket.
- Confirmation: The developer receives a confirmation message in GitLab indicating that the comment has been successfully added to the Jira ticket.
- View Comment in Jira: The Jira user can view the new comment on the Jira ticket, ensuring they are updated on the progress and context of the related work.
Benefits Improved Communication: Facilitates better communication between developers and project managers by keeping Jira tickets updated with relevant comments.
Increased Efficiency: Reduces the need to switch between platforms, allowing developers to manage their workflow within GitLab.
Enhanced Traceability: Links code changes directly to project management tasks, improving traceability and accountability.
Zendesk ticket (internal only)