noreflow
noreflow

Reputation: 175

Create new jira issue from commit log

Is it possible to configure jira in a way that you could use smart commit messages to automatically create a new issue? Lets say I'm committing a fix and would like to add a new issue directly just by annotating the commit log, would that be possible?

Upvotes: 1

Views: 168

Answers (1)

Welsh
Welsh

Reputation: 5468

From reading about Smart Commits which require Fisheye, it doesn't look like it. (Although there is at least 1 Stash plugin that does it that doesn't require Fisheye)

If you're using Stash you can most likely create for example a Asynchronous Post-receive Hook plugin that can watch the commit comments for like #CreateIssue Resolved Bug and then create within JIRA an issue with the Summary Resolved Bug.

Likewise if you're using GitHub you could use something that makes use of the Web Hooks functionality that takes in the event and then processes the commit comment and then uses the JIRA REST API to create the issue.

Likewise Bitbucket also has Webhook Functionality and there are plugins for Stash that do it as well.

Upvotes: 1

Related Questions