Problem with Auto Transition Listener

C_ Faysal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 16, 2013

Here is my listener

Action on W4F

com.atlassian.jira.toolkit.listener.AutoTransitionListener
  • Action ID 721
  • Action that triggered the IssueUpdated event attachment_added, transition
  • Event ID 6, 2
  • Only do when current user is the Assignee? false
  • Only do when current user is the Reporter? false
  • Project Key OP,SP,AS,ORDER,ABUSE
  • Status 10021

action 721 is a hidden transition called "give feedback" that moves the issue from status "waiting for feedback" back to "In Progress" when a comment is added.

if i set "Only do when current user is the Reporter? true" it works. but sometimes other team members add a needed comment to the issue to force proceeding (maybe if the reporter is out of office)

setting this to true will let the issue stay in status "Waiting for feedback" and no admin will notice.

now the weird part.

i set "Only do when current user is the Reporter? false"

if i try to move an issue from "In progress" to "Waiting for feedback" now nothing happends. status won't be changed.

am i understanding something completely wrong here?

anybody out there with experiences on AT listeners?

cheers

2 answers

1 accepted

1 vote
Answer accepted
C_ Faysal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 17, 2013

argh...i found the problem

Event ID 6, 2

for some reason using both will fail. i updated the listener to use 6 (Issue Commented) only and now it works

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 16, 2013

Is there any workflow condition set on the transition? Might be a reporter only condition? If so, that explains it.

C_ Faysal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 16, 2013
Hi jobin. Yeah i was already checkin for conditions. There are none. I see in the issue activity log that the issue was transitioned to waiting and immediately returned to in progress

Suggest an answer

Log in or Sign up to answer