Skip to content

chore: update JIRA automation #387

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 22, 2025
Merged

chore: update JIRA automation #387

merged 6 commits into from
Jul 22, 2025

Conversation

blva
Copy link
Collaborator

@blva blva commented Jul 22, 2025

Proposed changes

  • Adds support to create JIRA w/ a tag
  • Updates to create bugs

Checklist

@coveralls
Copy link
Collaborator

coveralls commented Jul 22, 2025

Pull Request Test Coverage Report for Build 16449784595

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 58 unchanged lines in 5 files lost coverage.
  • Overall coverage decreased (-1.6%) to 80.241%

Files with Coverage Reduction New Missed Lines %
src/telemetry/telemetry.ts 1 91.3%
src/index.ts 7 2.38%
src/common/config.ts 9 78.64%
src/common/logger.ts 9 87.36%
src/server.ts 32 69.14%
Totals Coverage Status
Change from base Build 16373544917: -1.6%
Covered Lines: 3099
Relevant Lines: 3826

💛 - Coveralls

@blva blva marked this pull request as ready for review July 22, 2025 13:12
@Copilot Copilot AI review requested due to automatic review settings July 22, 2025 13:12
@blva blva requested a review from a team as a code owner July 22, 2025 13:12
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Updates the GitHub Actions workflow to enhance JIRA automation by adding support for manual JIRA creation via labels and changing the issue type from Story to Bug.

  • Adds trigger for labeled events to allow manual JIRA creation with 'create-jira' label
  • Changes JIRA issue type from Story to Bug
  • Implements automatic cleanup of the 'create-jira' label after processing

issuetype: Story
description: "This ticket tracks the following GitHub issue: ${{ github.event.issue.html_url }}."
components: MCP
issuetype: Bug
Copy link
Preview

Copilot AI Jul 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The removal of the description and components fields may result in incomplete JIRA tickets. Consider adding these back to provide better context and organization in JIRA.

Suggested change
issuetype: Bug
issuetype: Bug
description: ${{ github.event.issue.body || 'No description provided.' }}
components: ${{ github.event.label.name || 'Default Component' }}

Copilot uses AI. Check for mistakes.

components: MCP
issuetype: Bug

- name: Show result
Copy link
Preview

Copilot AI Jul 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The indentation is incorrect for this step. It should be aligned with other steps at the same level (6 spaces), not as a sub-item of the previous step (8 spaces).

Copilot uses AI. Check for mistakes.

@@ -3,32 +3,59 @@ name: Create JIRA ticket for new issues

on:
issues:
types: [opened]
types: [opened, labeled]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you adding the label feature? For old issues?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, if we want to trigger jira creation we can

blva and others added 3 commits July 22, 2025 16:31
Co-authored-by: Filipe Constantinov Menezes <filipe.menezes@mongodb.com>
Co-authored-by: Filipe Constantinov Menezes <filipe.menezes@mongodb.com>
Co-authored-by: Filipe Constantinov Menezes <filipe.menezes@mongodb.com>
@blva blva requested a review from fmenezes July 22, 2025 16:15
@blva blva merged commit b82af9b into main Jul 22, 2025
17 checks passed
@blva blva deleted the fix-issue-jira branch July 22, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants