Skip to content

chore: add JIRA issue automation - [MCP-3] #376

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 2 commits into from
Jul 15, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/jira-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: Create JIRA ticket for new issues

on:
issues:
types: [opened]

permissions:
issues: write
contents: read
jobs:
jira_task:
name: Create Jira issue
runs-on: ubuntu-latest
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
with:
config: ${{ vars.PERMISSIONS_CONFIG }}
- name: Create JIRA ticket
uses: mongodb/apix-action/create-jira@v8
id: create
with:
token: ${{ secrets.JIRA_API_TOKEN }}
project-key: MCP
summary: "HELP: GitHub Issue n. ${{ github.event.issue.number }}"
issuetype: Story
description: "This ticket tracks the following GitHub issue: ${{ github.event.issue.html_url }}."
components: MCP
- name: Add comment
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
with:
issue-number: ${{ github.event.issue.number }}
body: |
Thanks for opening this issue. The ticket [${{ steps.create.outputs.issue-key }}](https://jira.mongodb.org/browse/${{ steps.create.outputs.issue-key }}) was created for internal tracking.
Loading