Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.
/ jirabars Public archive

like handlebars but for jira applied to github pr bodies

License

Notifications You must be signed in to change notification settings

meetuparchive/jirabars

Repository files navigation

jirabars Build Status Coverage Status

like handlebars but for jira applied to github pr bodies

🤔 about

This application is a github webhook handler for pull request events that applies jira informaiton to pull request body placeholders

🔌 install

You can install this application as a webook under your github repository's settings.

Visit https://github.com/{owner}/{repo}/settings/hooks/new to install a new github webhook.

  • Enter this lambda's api gateway url.
  • Select Content type application/json
  • Enter this lambda's webhook secret
  • Select Let me select individual events
    • Select Pull Requests
  • Click Add webook

👩‍🏭 development

This is a rustlang application. Go grab yourself a copy of rustup.

🚀 deployment

This is a rust application deployed using ⚡ serverless ⚡.

💡 To install serverless, run make dependencies

This lambda is configured through its environment variables.

Name Description
GITHUB_TOKEN token used to update github pull request
GITHUB_WEBHOOK_SECRET shared secret used to authenticate requests
JIRA_HOST jira installation host
JIRA_USERNAME username used to authenticate jira api requests
JIRA_PASSWORD passworded used to authenticate jira api requests

💡 the GITHUB_TOKEN env var must have repo scope in order to properly delete branches for the repository the webhook is configured for.

Run AWS_PROFILE=prod make deploy to deploy.

About

like handlebars but for jira applied to github pr bodies

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages