osowskit / jira-link-updater Goto Github PK
View Code? Open in Web Editor NEWGitHub App that replaces JIRA IDs in Issue comments with a URL to the JIRA issue
Home Page: https://github.com/apps/jira-link-updater
GitHub App that replaces JIRA IDs in Issue comments with a URL to the JIRA issue
Home Page: https://github.com/apps/jira-link-updater
Loading the JIRA_HOSTNAME from an environment variable ties a single running app to one url. This limits allowing multiple JIRA instances - either on an internal network or for supporting github.com.
#7 requires that the JIRA fqdn is stored in a YAML file.
It is possible to create an issue in each repository that can't load a JIRA URL stating jira-link-updater
GitHub App requires the YAML file, displays a warning if the YAML is malformed, and possibly creates the YAML file as a template.
Handle pull_request
created event and replace matches in body
Consider replacing ID in the title hyperlinks in title don't show up so can be ignored
Very active repositories may eventually time out with serial processing of webhooks. GitHub may also be temporarily unavailable so handle retrying.
This app was written to assume GitHub Enterprise instance with a single JIRA url. This limits installations for both companies with multiple JIRA instances and .com users.
Handle multiple occurrences of matching JIRA IDs in a comment.
Don't hardcode path to Atlassian JIRA server. This should be configurable from YAML or Environment Variables.
Line 66 in 26b7388
The source currently ignores issue_comment
: updated
events to naively avoid processing this integration updating a comment
Lines 93 to 94 in 3044034
The webhook payload will contain returns a sender
:type:Bot
that can be checked to ignore an update by this integration. However, for a user update - this may not prevent the app attempting to nest the link.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.