Community moderators have prevented the ability to post new answers.
https://ecosystem.atlassian.net/wiki/display/JTOOL/Auto+Transition+Listener
That is a bit of an RTFM link, but the point is that you aren't going to get someone re-type the documentation here.
If you want help, at least TRY it for yourself first - people here are much more willing to help someone who says "I tried this, but I got stuck", or "I tried this, but I don't understand line 9" rather than "please spoon feed me everything so I never learn"
hmm I am new bie here , i am using the listners for the first time.. I have already tried the above link... but I want to know the changes need to be done in the workflow without creating a new transition..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not a clue. Because you haven't told us
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Issue is in "waiting for customer" and when the reporter comments/replies by mail then the status should chnage to In-progress automatically.
what I have already tried
1. I have the workflow in place where the status are properly defined to support the above change.
2. I have added a Auto transition listener and configured it for the above requirement with proper project key and status, event and action id
3. now i have to trigger the listner (which need to be done from the workflow) when a user comments, there should be a trigger to start the Listener
4. I have tried addding the "issue commented" in the post function of waiting for customer ...but that doesn't help...
now i wanted to know where should be the tranistion be kept ...so that when a issue is commented it triggers the listner..
Note: I have checked the below post but that won't work for us beacause user's won't select any other buttons other then Comment/reply by mail
https://confluence.atlassian.com/display/JIRACOM/Performing+a+workflow+transition+on+comments+and+edits
I hope I provided the required details
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, step 1 sounds good. Step 2 probably needs checking.
Step 3 is nonsense. You do not "trigger" anything. The listener listens for events, which are (mostly) fired by changes to issues.
The question is what event do you want to run the listener for? As you say email, which is probably set up to create comments, then you need to listen for "commented" (I assume in step 4, you actually mean you have changed the "fire event" in the workflow to fire "commented"? Which would make sense if your listener is listening for that event)
I think you need to look more closely at the configuration of the listener - check *exactly* what event it is listening for.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the Listner is properly configured.
I have added a transition called "add comment " between "Waiting for customer" and "in-progress" and "add comment has only 1 transition screen "comment". in the "add comment" post function i have added "issue commented"
So when evr the status is in "waiting for customer" and the user clicks on "add comment" and provides comment the status is chnaging to "in- progress"this shows that the listner is configured correctly.
But when the above is configured without a new transition the same is not working when the issue is commented or gets a reply by email.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>in the "add comment" post function i have added "issue commented"
Sorry, that doesn't make sense. Do you mean you have changed the event that is being fired?
>So when evr the status is in "waiting for customer" and the user clicks on "add comment" and provides comment the status is chnaging to "in- progress"this shows that the listner is configured correctly.
No, it does not. You have added "add comment" as a transition. So when they use the transition, the status changes. That's not the listener doing it, it's the transition
I think you need to go back over the exact configuration here. You need to think through what events go out when, and what the listener tries to do when the events arrive with it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The Listener part is working perfectly. Now I am trying "where only reporter and project role admin and developer " can change the status from waiting for cust to in-progress by commenting. but the in-progress status is not displayed for the reporter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The usual way to do that is with conditions - on the transition that the listener uses to move the issue, add those three rules, and the listener should fail to move the issue on.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Conditions don't solve this problem, because when i add condition the in-progress status is getting displayed in view screen for the reporter as well. But i don't want the reporter to see the In-progress status/change the status
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So remove "reporter" from the condition
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if I remove the Condition, then the tranistion is not changing upon commenting by reporter.....
I tried changing the below in lisetner individualy, but no luck.
1. only do when the current user is reporter -- true
2. only do current user in the following group ---and the group has list of reporter/contributors
I have only one requirement: The reporter should be able to move the tranistion with a comment but the transition should not get displayed in View screen to the reporter.
Can you help me out
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Either you want the reporter to be able to transition the issue or you do not. Which is it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I want the reporter to be able to transition the issue when comments but the transition should be hidden from the view screen page to the reporter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm afraid it's one or the other
(Your requirement is also a bad design - why should an email be able to do somethign the user cannot do in the UI? If I were a user, I'd be yelling at my admin to let me work on my boards properly and not have to send emails to get stuff done - that's an anti-pattern in itself!)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.