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?
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
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
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.