Macro code in ad-hoc workflows: approvals

I have designed a workflow that requires approvals in 2 states: 'Review and Recommend' and 'Sign Off'

I would like to enhance my code such that when the state transitions from 'Review and Recommend' to 'Sign Off', approvals are automatically assigned to two different users (Jack and Jill) in the 'Sign Off' state. I see the concept mentioned here, however I am unsure how to write the code to do it. Here is my current code. Any help is appreciated. Thanks in advance.



    {state:In Progress}


    {state:Review and Recommend|approved=Sign off Approval|rejected=In Progress|taskable=true}

        {approval:Review and Recommend|assignable=true}


    {state:Sign Off|approved=Approved|rejected=In Progress|completed=Approved|taskable=true}








2 answers

1 accepted

Hi Conor,

Here's what you want to change your "Review" approval to:

{approval:Review|user=&USERNAME1, USERNAME2}

Where USERNAME1 and USERNAME2 are the usernames for the users you want automatically assigned.


Thank you Miguel!

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,089 views 13 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot