-
Notifications
You must be signed in to change notification settings - Fork 176
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
Changes from all commits
39e8d4e
b093edb
186baab
f2f3966
5a79951
f1f43f9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -3,32 +3,56 @@ name: Create JIRA ticket for new issues | |||||||||
|
|
||||||||||
| on: | ||||||||||
| issues: | ||||||||||
| types: [opened] | ||||||||||
| types: [opened, labeled] | ||||||||||
|
|
||||||||||
| permissions: | ||||||||||
| issues: write | ||||||||||
| contents: read | ||||||||||
|
|
||||||||||
| jobs: | ||||||||||
| jira_task: | ||||||||||
| name: Create Jira issue | ||||||||||
| runs-on: ubuntu-latest | ||||||||||
| if: github.event.action == 'opened' || github.event.label.name == 'create-jira' | ||||||||||
| 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 | ||||||||||
| continue-on-error: true | ||||||||||
| 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 | ||||||||||
| issuetype: Bug | ||||||||||
|
||||||||||
| issuetype: Bug | |
| issuetype: Bug | |
| description: ${{ github.event.issue.body || 'No description provided.' }} | |
| components: ${{ github.event.label.name || 'Default Component' }} |
Copilot
AI
Jul 22, 2025
There was a problem hiding this comment.
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).
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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