An open API service indexing awesome lists of open source software.

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.

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.

![Invalid Branch Name](./assets/invalid-branch-name.png)

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

![Jira task comment](./assets/jira-comment.png)