Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47990

Allow custom regular expression for finding JIRA issues in commit messages


    • Similar Issues:


      Our Devs changed the way they write commit messages and are taking the following approach https://chris.beams.io/posts/git-commit/It differs in one way: Instead of referencing other commits they write JIRA issue keys in the body. For example
      Commit subject
      Commit description
      See: TICKET-1234
      Resolves: TICKET-456, TICKET-789

      Therefore we cannot use the Jira-Ext Plugin anymore, because commit messages don't start with the issue key and switching to "Mentioned somewhere in the commit message" would also trigger referenced issues under "See" that aren't resolved.

      I would be nice if you could add an option "Regular Expression" which allows to define a custom regular expression for finding (multiple) issue keys in a commit message. This would solve our situation, and would probably cover all future requests from other users, which a similar problem.



          There are no comments yet on this issue.


            • Assignee:
              dalvizu Dan Alvizu
              flaimo flaimo flaimo
            • Votes:
              1 Vote for this issue
              1 Start watching this issue


              • Created: