Forums

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

Change Page Status when using Tasks Branch

Mike C_ March 10, 2025

Hello,

I'm new to Automation within confluence. I've setup an automation to notify when tasks are past due in a specific space.

ISSUE: I need to update the PAGE STATUS if the task is past due. But for some reason it's coming up as an incompatible action within the TASK BRANCH

I'm confused because I can easily output the page.url within the task branch/send an email to it -- but I'm unable to update the page status?

Any idea how I can accomplish this? I've attached my current automation rule. 

task-latest.pngpage-status.png

Thank you very much

3 answers

1 vote
Bill Sheboy
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.
March 10, 2025

Hi @Mike C_ -- Welcome to the Atlassian Community!

First a disclaimer that I do not work with Confluence automation rules often, and so my suggestions are based on my general automation knowledge.  With that out of the way...

Your rule branch is over Tasks but the action is trying to access the page and that is not available in the {{task}} smart values: https://support.atlassian.com/cloud-automation/docs/smart-values-in-confluence-automation/#Task-properties

The workaround would be using the REST API with the Send Web Request action:

  • use a REST API endpoint to get the pageId for the specific {{task.id}}
  • use another endpoint to update the page status using its pageId

Kind regards,
Bill

0 votes
Mike C_ March 11, 2025

@Shawn Doyle - ReleaseTEAM and @Mark B Wager Thanks for your help on this. I spent so long messing around myself and had zero luck. What a bummer - they should enhance this! 

Mark B Wager
Contributor
March 31, 2025

Glad to help in any way I can.

Mark

0 votes
Mark B Wager
Contributor
March 10, 2025

Hi Mike

I have tried this a BUNCH of different ways, but no luck.  (I tried setting variables, dynamically populated a lookup table with all the Page IDs on pages with tasks, tried setting variables, etc.) No data created within the "Branch" remains once you leave the branch - it clears lookup tables, variables, etc. - so I couldn't take separate action to send emails based on page data in a second branch.


In the example you show above, it will send an email to assignees on every task it finds.

You'd think that since it does that, you'd be able to act on other things, too.  However, Confluence automation branches don't support it.  Branches run all at once, basically.

Example: I created a "Branch" to list all tasks that are incomplete. Then, I logged some data from each, within the branch. Then I added a second log trying to show past and current status, also within the branch. 

You can see the first log entry displays ALL the tasks, not iterated individually, as you might expect. So, there's no way to individually act upon each entry.

Screenshot 2025-03-10 at 2.29.06 PM.png


Pretty big bummer. :(   Jira automations work slightly differently and do allow for updating variables if they are initially scoped outside of the branch (then they can be updated in the branch.)  Confluence doesn't seem to work this way. 

If anyone can solve this through another means, let us know! 

Hope you can find a solution.

Mark

P.S. https://support.atlassian.com/cloud-automation/docs/branches-in-confluence-automation/

Shawn Doyle - ReleaseTEAM
Community Champion
March 10, 2025

What @Bill Sheboy said.  

Your automation has the context of tasks and the function you are adding needs the context of page. 

 

 

Like # people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events