Saturday, 26 November 2011

From a pull request to a jira issue

After the generate a patch and attach it to a jira issue, it's now the time to have a tool to create an issue from a patch request (the current implementation works only for github pull request).

So the Patch Tracker plugin has now a new goal called to-issue. This goal will read a github pull request and create an issue in your issue tracker (currently only supported for jira).

It's simple :-).
As sample see pull request : and the created issue in jira:
I have just used the cli:

mvn patch-tracker:to-issue -B

For easy configuration see the properties in the jenkins pom.



entry in settings:


And that's it :-).

BTW if you need more features, patch (or pull requests) are welcome.

This maven plugin is in the maven sandbox @asf and not released, so if you want to try it you must have asf maven snapshot repo in your settings or buid it manually.
Sources are here:

  • (path plugins/maven-patch-tracker-plugin) yup no sparse checkout with git :P


Some docs has been started here (maybe not yet in sync so wait a bit)

Have fun !

No comments: