gerrit


Gerrit trackingid not working


According to this section, I have created the following entries in the gerrrit.config file:
[trackingid "jira-issue"]
footer = Issue:
match = "\\[PROJECT-\\d+\\]"
system = JIRA
When I commit a new patchset (or a new change) with the following commit message, the tracking id is not created.
[PROJECT-123] My commit message
Change-Id: Ia5b58dda57ef12632075738d1301f2e143066d45
I have checked the tracking_ids table in database and it's empty. Filtering changes with tr:PROJECT-123 have no results. What can be wrong?
I have restarted Gerrit after making the configuration change. Gerrit v2.8.
Currently the tracking ID needs to go in the footer of the commit message, using the footer argument as its name. In your case:
My commit message
Change-Id: Ia5b58dda57ef12632075738d1301f2e143066d45
Issue: [PROJECT-123]
The order of the name: value pairs in the footer doesn't matter - they just must all be in one paragraph (no blank lines between items).
If it does work in the body of the commit message, then it is probably this issue: Support TrackingIds in subject as well as footer.

Related Links

gerrit query doesn't print PL
How to prevent gerrit push to authoritative repository
what is the use refs/for/refs/* in gerrit?
How to put a local repo project into gerrit?
What is the effect of deleting a branch in gerrit
Right way to resolve gerrit “pending changes” merge conflict
Buck build failing for “events-logs” Gerrit plugin (jar)
Disable direct push and allow Gerrit push
Set “topic” of multiple patches simultaneously in gerrit
Using Gerrit to restrict read access to a git branch
Is it possible to search for commit by Change-Id in Gerrit?
Why is the gerrit change-id commit-hook not a push-hook?
LDAP changed acccount Full Name is not displaying in gerrit web page
Can I change the order of verification and code review in gerrit
Is it possible to make review optional on any particular branch in gerrit?
customize logo on home page gerrit

Categories

HOME
ionic-framework
client
openlayers
wso2-am
blogger
magnific-popup
ngrx
octobercms
at-command
google-oauth
c#-2.0
retrofit
mouse
node-notifier
adfs
gitpitch
midi
u-sql
spring-tool-suite
leiningen
ibm-odm
try-catch
clojurescript
libtiff
telephony
invantive-sql
lucene.net
nodatime
accessor
zurb-foundation-6
java-7
maquette
typo3-6.2.x
opentype
preg-match
bosh
gtrendsr
copying
accelerate-framework
android-nestedscrollview
mapbox-gl
vxworks
c11
vapor
splice
trim
awt
preconditions
eclipse-scout
eigenvalue
wptoolkit
jsch
user-accounts
dotcover
apache-fop
revapi
dandelion
celery-task
ionicons
nativeapplication
diagnostics
knockout-components
composite-key
capacity
memory-alignment
word-vba-mac
py2app
jwplayer7
pickadate
unity-networking
teamcity-8.0
metaclass
iis-arr
jqgrid-formatter
security-testing
method-parameters
unity3d-gui
formatjs
clicktag
jsonpickle
php-5.4
flask-cors
typeof
starcluster
wp-query
hippomocks
jsctypes
tidy
listings
tws
bulkloader
mylyn
android-screen-support
mqx
flashvars
browser-detection
jquery-knob
tridion-worldserver
regsvr32
reddot
jquery-ui-layout
digest-authentication
castle-monorail

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App