Forums

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

Use the Automation If Block to check if a newly created folder has a specific name

Rhys Gottwald
Contributor
May 9, 2025

Hello, I am sure that I can do this, I am just not sure how, but if I create an automation that is to execute when a new folder is created, how do I I use the folder name in an if block, do I use the Page Title smart value?

2 answers

0 votes
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.
May 9, 2025

Hi @Rhys Gottwald 

With the new Folder Created trigger, my testing last week showed the only smart value returned is {{folder.id}} and that one is not in the documentation yet.  (neither is the trigger).

To get the folder's name, you could use the Send Web Request action to call the REST API endpoint to get the folder's title.  If you want to try that, here are references to help:

Get Folder By ID endpoint: https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-folder/#api-folders-id-get

How-to article for calling an endpoint from a rule with Send Web Request: https://community.atlassian.com/forums/Jira-articles/Automation-for-Jira-Send-web-request-using-Jira-REST-API/ba-p/1443828

Kind regards,
Bill

0 votes
Jeroen Poismans
Community Champion
May 9, 2025

Hi Rhys,

Unfortunately there are currently no smartvalues to access the properties of the recent Folder content type. This issue is addressed here, if you want to vote for the suggestion:

https://jira.atlassian.com/browse/CONFCLOUD-80608

What are you trying to achieve?

Jeroen

Suggest an answer

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

Atlassian Community Events