Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Triggering Confluence Automation for a page created by Jira Automation

Mike Monk
Contributor
June 19, 2024

I have some automation in Jira that creates a Confluence page which works fine, however I would like to then be able to change the Owner and remove myself as a watcher on that new page. 

I have some automation in the Confluence space to do this but it is failing with the below error: 

image.png

I am suspecting this is due to the page creation from Jira not being fully "completed" but still triggering the Confluence Automation.

Anyone got any suggestions on how to resolve this i.e. getting the Confluence Automation to refresh the page info before carrying out the condition checks...

2 answers

1 accepted

0 votes
Answer accepted
Mike Monk
Contributor
August 15, 2024

Just discovered there is a new "Delay" function in the Confluence automation. Have added that to the rule so will see how it goes next time it runs!

Mike

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.
June 20, 2024

Hi @Mike Monk 

First thing, I am not using Confluence automation rules, and so my suggestions are based on what I know about automation in general.  Please test anything I suggest.  With that out of the way...

There are similar problems for Jira Automation for issue creation, linking, etc.  With those, there is a Re-fetch Issue action to reload the data and pause the rule slightly.

After I quick check of the documentation, I see no equivalent for Confluence automation, page creation.

One possible workaround is adding a Send Web Request action to call a Jira REST API function, such as an issue search, as that will likely add a second or more of run time.  Remember to select the option to "Delay execution of subsequent rule actions..." to ensure processing pauses.

 

After checking further, I found a related suggestion to add a delay action for Confluence Automation: https://jira.atlassian.com/browse/CONFCLOUD-77888

 

Kind regards,
Bill

Mike Monk
Contributor
June 21, 2024

Hi Bill, 

Thanks for the suggestions, I to have used the Jira re-fetch where needed in my Automation to allow tickets to catch up...

I will have a look at the page you linked to... thanks for that info

Mike

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events