CandyShop / gerrit

Automatically exported from code.google.com/p/gerrit
Apache License 2.0
1 stars 0 forks source link

its-jira not updating jira #3380

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
*****************************************************************
*****                                                       *****
***** !!!! THIS BUG TRACKER IS FOR GERRIT CODE REVIEW !!!!  *****
*****                                                       *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, CYANOGENMOD,  *****
***** INTERNAL ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.*****
*****                                                       *****
*****   THOSE ISSUES BELONG IN DIFFERENT ISSUE TRACKERS     *****
*****                                                       *****
*****************************************************************

Affected Version:

What steps will reproduce the problem?
1. Installed gerrit-2.10.4
2. Using its-jira-2.10 from 
here:https://ci.gerritforge.com/view/Plugins-stable-2.10/job/Plugin_its-jira_sta
ble-2.10/

3. Its-base from here: 
https://ci.gerritforge.com/view/Plugins-stable-2.10/job/Plugin_its-base_stable-2
.10/lastSuccessfulBuild/artifact/target/its-base-2.10.jar

4. gerrit.config

[its-jira]
        enabled = true
        url = http://jira-dev
        username = jiragerritintegrationuser
        commentOnChangeCreated = true
        commentOnChangeMerged = true
        commentOnCommentAdded = true
        commentOnCommentAdded = true
        commentOnFirstLinkedPatchSetCreated = true
        commentOnPatchSetCreated = true
        commentOnRefUpdatedGitWeb = true

[commentLink "its-jira"]
        match = ([A-Z]+-[0-9]+)
        html = <a href=\"http://jira-dev/browse/$1\">$1</a>
        association = MANDATORY

5. etc/issue-state-transition.config
[action "Start Progress"]
        change=created

6.  etc/its/actions.config
[rule "LOG"]
        action = log-event error

[rule "patch-set"]
        event-type = patchset-created
        status = !, DRAFT
        action = add-comment A new patchset was added to che Gerrit change
        action = log-event

What is the expected output? What do you see instead?
On new patch creation, it should update jira comment

Please provide any additional information below.
On log/error_log, i don't see any related error/logs. I see that JIRA is has 
been enforced on commit message in gerrit. But plug-in is not updating gerrit

Original issue reported on code.google.com by yogeshkr...@gmail.com on 19 May 2015 at 6:27

GoogleCodeExporter commented 9 years ago
Look at Issue #3386. Maybe it's also your problem.

Original comment by eng...@gmail.com on 21 May 2015 at 8:07