Advance workflow based on reply to specific email

I am looking for a way to fill field and advance workflow based on a reply to an email. In my environment I need to get permission to start work, IT testing, User Testing and Permission to Implement. I have the workflow set currrently to not advance if the custom field for the user and the custom field for the date aren't filled in. I send the email from JEMH but then the Assignee has to manually fill the date of the ok reply to move to the next step.

What would be the best way to automate that process?

1 answer

1 accepted

If everyone involved on the issue gets notified, and your workflow rules are such that only the nominated individuals can advance particular workflow steps then this could be done with user supplied commands (JEMH Directives).

Here is an example for how JEMH Directives advance workflow (one step only):

@workflow = Start Progress

The Directive key / value combination has to be right, sometimes this is a big ask, so you can simplify it using Directive Aliases, eg for the above, the Alias key (ignore format prefixes) DoStart has a value of: workflow=Start Progress.

[DoStart] = [workflow = Start Progress]

So, this means a test phase approver could send @DoTest to trigger whatever transition is appropriate.

Following this pattern you could then have @DoUserTest @DoImplement for other workflow transitions.

For this to work:

- you need to enable a specific field processor, the example format above is for the At Prefix Field Processor which assumes the Directives are in a block at the top of the email body. You could equally use the Subject Based Field Processor for this, eg #DoStart in the email subject woudl achieve the same thing.

- will also need to enable Directives for at least Comment.

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 Apr 17, 2018 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...

767 views 2 19
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