Jira issue status not updated

93 views
Skip to first unread message

Woody

unread,
Aug 2, 2016, 4:42:25 AM8/2/16
to Repo and Gerrit Discussion
Installed its-base (version f2bc136) and its-jira (version v2.12.2-42-gdeab5c6-dirty) on gerrit 2.12 with jira 6.3.6 

When I push a change onto gerrit, I saw the status of the issue in jira was changed to "In Progress" and a comment was also added with the link to the gerrit change. That's great.

But when I merged the change in gerrit, the status of the jira issue did not change as expected, and I found the following error from the gerrit log:

[2016-08-02 15:43:59,929] [HTTP-81] ERROR com.googlesource.gerrit.plugins.its.base.workflow.ActionExecutor : Error while executing action Resolve Issue
com.googlesource.gerrit.plugins.its.base.its.InvalidTransitionException: Action Resolve Issue not executable on issue HP-433
        at com.googlesource.gerrit.plugins.its.jira.JiraClient.doTransition(JiraClient.java:119)
        at com.googlesource.gerrit.plugins.its.jira.JiraItsFacade.doPerformAction(JiraItsFacade.java:107)
        at com.googlesource.gerrit.plugins.its.jira.JiraItsFacade.access$400(JiraItsFacade.java:31)
        at com.googlesource.gerrit.plugins.its.jira.JiraItsFacade$3.call(JiraItsFacade.java:99)
        at com.googlesource.gerrit.plugins.its.jira.JiraItsFacade$3.call(JiraItsFacade.java:95)
        at com.googlesource.gerrit.plugins.its.jira.JiraItsFacade.execute(JiraItsFacade.java:143)
        at com.googlesource.gerrit.plugins.its.jira.JiraItsFacade.performAction(JiraItsFacade.java:95)
        at com.googlesource.gerrit.plugins.its.base.workflow.ActionExecutor.execute(ActionExecutor.java:73)
        at com.googlesource.gerrit.plugins.its.base.workflow.ActionExecutor.execute(ActionExecutor.java:85)
        at com.googlesource.gerrit.plugins.its.base.workflow.ActionController.onEvent(ActionController.java:63)
        at com.google.gerrit.common.ChangeHookRunner.fireEventForUnrestrictedListeners(ChangeHookRunner.java:742)
        at com.google.gerrit.common.ChangeHookRunner.fireEvent(ChangeHookRunner.java:754)
        at com.google.gerrit.common.ChangeHookRunner.doChangeMergedHook(ChangeHookRunner.java:497)
        at com.google.gerrit.server.git.MergeOp.setMerged(MergeOp.java:1011)

Could anybody kindly help on this?

Thanks a lot!

Best regards,
Woody Guo

Luca Milanesio

unread,
Aug 2, 2016, 4:51:35 AM8/2/16
to Woody, Repo and Gerrit Discussion
Hi Woody,
the problem is rather on the Jira side: the JiraClient "doTransition" failed saying that the "Resolve Issue" action cannot be executed on that ticket.

Open Jira on that specific ticket (HP-433) and see if you can perform a "Resolve Issue" action on it.

Luca.
 
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Woody

unread,
Aug 2, 2016, 5:16:31 AM8/2/16
to Repo and Gerrit Discussion, wood...@gmail.com
Thanks Luca! Yes you're right.

I was able to "Resolve Issue" in Jira when logged in with my own account. However, I was unable to do that action when I logged in as the gerrit user. So that's an issue with the jira account.

Thanks again for your help!

Best regards,
Woody Guo

在 2016年8月2日星期二 UTC+8下午4:51:35,lucamilanesio写道:
Reply all
Reply to author
Forward
0 new messages