Automatic workflow transition from "Waiting to customer" to "In progress"

We have workflow where steps are like:-

open->Inprogress->Waiting for customer->......

waiting for customer->In progress

So here whenever we set status to waiting for customer i want that only the reporter(not the watcher) whenever comments back on the issue either via mail(as we have mail handler configured) or simply through issue commenting then automatically the status should change from "waiting for customer" to "In progress" so that the assignee doesn't have to manually do that.

One alternative could be use of listener but i really don't know how that should go.

Please provide your suggestions on this and if you need any more info please let me know.

2 answers

1 vote

First you will need to ensure the JIRA Toolkit Plugin has been enabled on your instance.
This plugin comes bundled with OnDemand, but can be disabled. Enable this through the Manage Add-ons option on your instance.

From there, the Auto Transition Listener should be providing the functionality you are looking for.
The documentation linked provides all instructions required to set up the conditions to which the listener functions in order for it to perform the transition of issues from 1 status to the other. I hope this helps.

Ahh, didn't know the JIRA Toolkit Plugin was bundled with AOD!

That is a great solution!

Hi Mick,

Many thanks for your suggestions but it would be better if i explain you my trouble in a better way.

I configured the listener correctly but i couldn't achieve exactly what i wanted.

Let me explain:-

Lets asy i am admin of my project and i have xyz under contributor who just has the permission to create issue,comment issue and send attachment.

I made xyz to create issue and he created test1 issue as reporter.

Now i assigned that to me and status hence changed to In progress. From In progress we have one transition called waiting for customer which i executed adding some comments.

Now that reporter xyz can see the issue but when he comments on that i just see the issue updated with comment but no automatic transition having taken place from current "waiting for customer" to "in progress"

I set the listener as follows:-

Project key:- correct

status id:- that for "waiting for customer"

Action id:- the transition id which takes state from "waiting for customer" to "In progress"

Event Id:- 2 for issue updated as i couldn't see any event id for issue commented

Only do when the current user is the reporter? true

Please let me know your suggestions on this as i would be more than happy to get it resoklved at the earliest.

Thanks,

Ashley

Hi Ashley,

The issue commented Event ID is "6" in my test environment. In case this event is not available to you, I would suggest you create a support request and refer to this post for further review

Hi Mick,

How to find my jirta event id through my jira instance?

In this case for issue commented (event) where will i find the relevant id in my jira?

Also one thing as per your comments what i understand is that whenevr the reporter just comments on the issue by ading comment to issue or through mail, then it should automatically trigger change of transition from "waiting for customer" to "in progress" when i open that issue as assignee and so i'll not need to bother to change that state manually...is that feasible ??

I really don't get this automation working.

Please help me on this...

After adding the class to the listeners you can configure the AutoTransitionListener by pressing the "edit". There you will see several lists under each configuration option with values next to them. In my setup, Issue commented has value 6

If configured correctly, only comment events, be it through mail or UI, triggered by the reporter should cause the listener to pick it up, and take action accordingly.

For your case I would advice you to raise a support request, since that enables us to see your actual data and provide you with much better support.

Hi Mick,

how should i raise support case?

Hi Mick,

I guess by now you have almost clear understanding of what i'm trying to do and what i would like to achieve out of that. So please give me detailed stepwise procedure so that i can emulate that to achieve my automated workflow transition.

Thanks,

Ashley

Hi Mick,

Any updates?

Hi Mick,

Any updates?

Thanks,

Ashley

Hi Ashley,

Since you are on OnDemand the listener approach is not available (See https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand#RestrictedFunctionsinAtlassianOnDemand-JIRAfor details)

I am not that familiar with Webhooks in AOD but that may be a way forward. (see https://confluence.atlassian.com/display/AOD/Managing+Webhooksfor details)

Maybe you can have the webhook call the REST API and transition the issue for you.

Just a thought!

Cheers,

// Svante

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

199 views 1 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you