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

Customize gerrit home page:logo and color
Gerrit mistakenly deleted tables Any solution?
What's the role of Change-Id in commit message
Unpublish gerrit change
how to cherry pick a patch with all its dependencies?
Purge Abandoned Change-Ids from Gerrit for good
Gerrit behaviour to find change-id in last paragraph
Gerrit Code review tool
finding out Gerrit server version when having URL
Creating folders in gerrit base path?
How to get patchset “Author” out of Gerrit?
Gerrit code/peer review data extraction
Git clone failing for gerrit repository
Gerrit to add notes to Mantis bug
Gerrit asks for rebase when tried to submit change
changes dependencies graph

Categories

HOME
pandas
variables
jdo
keycloak
magnific-popup
include
platform-builder
youtube-api-v3
gps
ip
yum
serverspec
echarts
wamp
azure-storage-tables
ios-charts
pheatmap
awesome-wm
elasticsearch-hadoop
communication
ssl-client-authentication
modx-revolution
zebra-printers
iolanguage
vaadin7
workload-scheduler
dosgi
shared-hosting
firefox-webextensions
swingx
object-detection
language-agnostic
fgetcsv
publish
assistant
opentype
javascriptcore
pdb
jspresso
typed.js
webtest
gammu
mapbox-gl
mpmediaquery
restlet
android-browser
document.write
core-plot
isbn
bootstrap-dialog
http-redirect
flashair
angular2-meteor
taffy
komodoedit
atomicity
jquery-validate
domain-model
colorama
webdriverjs
skobbler-maps
qpid
jwplayer7
xpath-1.0
energy
phpcas
iad
r-tree
retina
kcachegrind
tableau-online
myo
angular-local-storage
unity5.2.3
xc16
codeigniter-url
angularjs-ng-click
codeigniter-routing
id3v2
xcode-6.2
typeof
tld
valueconverter
valuechangelistener
picturefill
typo3-neos
uv-mapping
rabl
android-screen-support
comaddin
cassini-dev
referrer
quickdialog
bubble-chart
actionview
propagation
sql-server-profiler
fluent-interface
revisions
fixed-width
backcolor
ctp4
yagni
sustainable-pace
spec#
django-notification

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App