https://github.com/neuodev/jira-ticket
Link GitHub pull requests with its associated Jira task.
https://github.com/neuodev/jira-ticket
Last synced: over 1 year ago
JSON representation
Link GitHub pull requests with its associated Jira task.
- Host: GitHub
- URL: https://github.com/neuodev/jira-ticket
- Owner: neuodev
- Created: 2023-02-15T04:30:40.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-07-06T22:11:52.000Z (about 3 years ago)
- Last Synced: 2025-03-02T07:02:45.273Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 210 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jira Ticket
Link GitHub pull requests with its associated Jira task.
## How it works
The web server exposes a single endpoint `/api/v1/pull/:pullId` that accepts the pull request Id (Normally will be from the CI/CD) and will do the following.
1. The script will make sure the branch name is following the branch naming
convention `//`. If the branch doesn't
follow the conditions, a comment similar to the one below will be made.

2. f the branch name is valid a comment will be made with the associated Jira
ticket.
