restlessthinker / danger-jira Goto Github PK
View Code? Open in Web Editor NEWDanger plugin to link JIRA issues in a pull request - Supports GitHub and GitLab
License: MIT License
Danger plugin to link JIRA issues in a pull request - Supports GitHub and GitLab
License: MIT License
Add possibility to set both icons please
There is code and tests that it checks commits but default value is false
and there is currently no override. Skippable only searches PR title and PR Body. I didn't want to change #10 without understanding if you wanted to use the same check for "searching commits" to search for no-jira
.
@dzenbot Let me know what your thoughts are and what your team needs and I can get an update out. Thanks!
Hello,
I found out your plugin as we are trying to implement Danger in our environment where we use Jira. We would like to be able to perform the following actions with the plugin :
Usually, we use the title of our MR/PRs to describe the problem and build our release note. So we use the branch name to reference the JIRA ticket number, like for example: bugfix/KEY-123
. An additional option to search the branch name would be nice.
For the two next features, we would need to access the JIRA API. To keep the call of the main method short, I thought about using ENV variables of the CI environment just like Danger do to store Gitlab/Github token and url. Eg. DANGER_JIRA_TOKEN
and DANGER_JIRA_URL
.
If DANGER_JIRA_TOKEN
is not empty, it would be interesting to insert the title (summary) of the JIRA ticket in the message posted by Danger (see #16)
Add another optional parameter in the main method (transition_id) to automatically transition the referenced JIRA issue(s) when the MR is opened. The nice thing would be to post a warning message if the transition fails (something that is actually not supported by JIRA smart commits).
What do you think about this ? I am still pretty newbie to Ruby, but I can contribute to the best of my knowledge if you think those features could be a nice addition to this plugin.
The output message should be based on where you are specifying the plugin to check for JIRA keys.
Update dependencies
I like the default w/ PR title, but it would be great to support parsing the description as well.
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.