Code Monkey home page Code Monkey logo

danger-jira's People

Contributors

dzenbot avatar j-koenig avatar loganmoseley avatar lpenaflor avatar mikian avatar restlessthinker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

danger-jira's Issues

Wrong format of issue key

When you write your Jira key with square brackets ( [KEY-123] ) in the PR title, then the message and link from Danger is formatted incorrectly. I have looked at the RegEx for getting the key, but it seems correct so I can't seem to find where the problem lies

image

Icon

Add possibility to set both icons please

Adding some features to the plugin without breaking (almost) the existing functionnality

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 :

Ability to search also in branch name

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.

Ability to connect to the JIRA API

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.

Ability to pull out the title in the message of Danger

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)

Ability to transition the issue

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.

Skipping with `no-jira` doesn't actually check commits

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.