Set a Newly Created Folder as the Parent for Pages in the Same Automation

zamir_avidov
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!
January 25, 2025

I have an automation triggered when an issue of a certain type is created.
As part of the automation, a new folder is created, and two pages are generated.

The issue is that I cannot set the newly created folder as the parent for the pages within the same automation.
The Parent field only allows selecting from existing folders I’ve previously owned or edited, and it doesn’t support Smart Values, JQL, or dynamic inputs to reference the folder created earlier in the automation.

Question:
Is there a way to dynamically set the newly created folder as the parent for pages in the same automation? If not, are there any recommended workarounds?

2 answers

1 vote
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 25, 2025

Hi @zamir_avidov - welcome to the community,

I see the problem. I personally would suggest to create the following (child) pages via rest-api --> "send webrequest" action.

after creating the first (parent) page you could gather the page´s information via smart value (createdPage) and then use this in the api call that will create the child pages. See the following link to the confluence rest api:

https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-post

 

Hope this was helpful.

Best
Stefan

Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 31, 2025

Hi @zamir_avidov 

Could you already have a look into my suggestion and try to build an automation rule according to this?

Best
Stefan

0 votes
Tomislav Tobijas _Koios_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 30, 2025

Hi @zamir_avidov ,

I've stumbled upon the same 'issue' and I've talked with Support about this.

They've shared a feature suggestion link and I'm sharing it here: AUTO-1641: Support Confluence folder in Jira Cloud automation rule 
I'm aware that this is not exactly what you're looking for but they have said this impacts the rest (your case) and that probably, it would be best to share your requirement as a comment on the ticket so that it can be addressed properly (whenever feature gets to development).

Cheers,
Tobi

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