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.
Thank you very much
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:
Kind regards,
Bill
@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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What @Bill Sheboy said.
Your automation has the context of tasks and the function you are adding needs the context of page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.