It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Ad Hoc Workflows: only showing activity, not approval options

Julia Wester Oct 07, 2013

Here is my workflow markup:

{workflow:name=IT Security Workflow}
    {description}
        IT Security Workflow
    {description}
    {workflowparameter:Security Team|type=group}
        it-security
    {workflowparameter}
    {state:Draft|submit=Ready for QA}
    {state}
    {state:Ready for QA|approved=Ready for SME|rejected=Draft}
        {approval:QA|user=@QA@}
    {state}
    {state:Ready for SME|approved=Ready for Final Review|rejected=Draft}
        {approval:SME|user=@SME@}
    {state}
    {state:Ready for Final Review|approved=Ready to Publish|rejected=Draft}
        {approval:Final Approver|user=@Final Approver@}
    {state}
    {state:Ready to Publish|approved=Published|rejected=Draft}
        {approval:Author|user=@Author@}
    {state}
    {state:Published|final=true|rejected=Draft|hideselection=true}
    {state}
    {trigger:pagecreated}
        {set-state:Draft}
        {add-restriction:type=View|group=@Security Team@}
    {trigger}
    {trigger:statechanged|state=Ready for QA}
        {set-metadata:Page Author}@user@{set-metadata}
        {send-email:user=@QA@,@Page Author@|subject=Page Submitted for QA}
        The @page@ has been submitted by [~@FAQ Author@] and is waiting for your QA approval.
        {send-email}
    {trigger}
    {trigger:statechanged|state=Ready for SME}
        {send-email:user=@SME@,@Page Author@|subject=Page Submitted for SME}
        The @page@ submitted by [~@FAQ Author@] has passed QA and is waiting for your SME approval.
        {send-email}
    {trigger}
    {trigger:statechanged|state=Ready for Final Review}
        {send-email:user=@Final Approver@,@Page Author@|subject=Ready for Final Review}
        The @page@ submitted by [~@FAQ Author@] has passed both QA and SME review and is waiting for your final approval.
        {send-email}
    {trigger}
    {trigger:statechanged|state=Ready to Publish}
        {send-email:user=@Page Author@|subject=Ready to Publish}
        The @page@ submitted by [~@FAQ Author@] has been through all approval steps and is now ready for you to publish.
        {send-email}
    {trigger}
    {trigger:statechanged|state=Published}
        {remove-restriction:type=View}
    {trigger}
    {trigger:pageupdated|state=Published}
        {set-state:Draft}
        {add-restriction:type=View|group=@Security Team@}
    {trigger}
{workflow}

* I created Test User 1-4 and they are correctly listed in the confluence group it-security.
* Test User 1 is the author of the document
* Test user 2-4 were listed in page properties as the QA, SME and Final Approver, respectively.

Test User 1 is able to submit the page and it shows as Ready for QA.

PROBLEM 1: when I log in as Test User 2, I only get the activity pane when I click on the workflows icon. The approval pane is not there at all. Usually there are two "tabs" to the workflows dialog "popup."

PROBLEM 2: I got an email for Test User 2 (and only Test User 2) on submit for QA, but it was not along the lines of the content of the email I provided in the workflow.

I am trying to conclude an evaluation that will prove that this can be used for our documentation compliance needs. But, I keep running into these roadblocks :(

1 answer

1 accepted

0 votes
Answer accepted

Hi Julia,

Sorry to hear you are having problems, however since you also created a request with us for this issue, we will answer it there.

Thanks,
Miguel

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

1,255 views 2 13
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you