Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Comala Workflow - give permissions to a person selected for approval

Tristan Jones
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 16, 2018

Hi, 

 

I'm trying to set up an approval workflow whereby someone can create a page with edit rights determined by who is selected as an approver. Ideally, the flow would work in the following way: 

  1. User creates page - no one else is able to see the content of the unpublished page
  2. User submits page to team review and selects the reviewers they want to have access
  3. Trigger fires upon selection of reviewers and gives whoever has been selected as an reviewer edit rights to the unpublished page
  4. All team reviewers approve the page and it progresses through the workflow

 

I've tried to achieve this using a trigger and the following markup: 

{workflow:name=Quality Approval Workflow|label=testqualwf|stickylabels=testqualwf}
{description}
Description here
{description}
{state:Draft}
{state-selection:states=Team Review}
{state}
{state:Team Review|approved=Quality Review}
{approval:Review|assignable=true}
{state}
{trigger:pageapprovalassigned|approval=team review}
{add-restriction:type=edit|user=@assignee@}
{trigger}
{state:Quality Review|approved=Approved}
{approval:Review|assignable=true}
{state}
{state:Approved|final=true|updated=Draft}
{state}
{workflow}

I've had no luck as whoever I assign the review to still is not able to see the unpublished version. 

 

Any ideas how I can fix this? 

 

Thanks

1 answer

0 votes
NotTheRealStephenSifersNOPENOPENOPENOPE
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 20, 2018

Tristan,

Check your space permissions to ensure the user has EDIT privileges within the space along with Comment privileges as well.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events