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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Include Confluence URL in Automation Task

Hi There

 

I am trying to include a variable URL into a Confluence page creation Automaton rule:  

Currently, I have tried: https://mycompany.atlassian.net/wiki/spaces/OPS/pages/{{page.id}}/{{issue.summary}}

However, {{page.id}} does not work as this is always different upon page generation.

Can someone advise me as to what the URL composition should look like please, as I can't work it out?

 

Cheers

1 answer

1 accepted

0 votes
Answer accepted
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.
Oct 09, 2023

Hi @Lyle de Groot -- Welcome to the Atlassian Community!

For a question like this, it is helpful to post images of your complete rule, the relevant action details, and the audit log details showing the rule execution.  Those will provide context for the community to offer suggestions.  Thanks!

How are you trying to create the page: with a Jira automation, web request action; with a Confluence automation rule; or something else?

Kind regards,
Bill

Hi Bill

 

Thanks for the reply,

I am using a JIra automation, and trying to insert a URL from a Confluence page into a Jira automation  'Send Email' Action.

 

See attached screenshot for more info..

CreateConfluencePage1.png

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.
Oct 09, 2023

Thanks for that information.  The Create Page action doesn't "return" anything to reference the page, and there are no branches to "most recently created page" to reference it either.

A work-around would be to use the Send Web Request action after your page is added, get the page information, and then use that in your Send Email action.

Here is a reference to the REST API functions for Confluence pages: https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-group-page

And here is a how-to article for calling a REST API function from an automation rule: https://community.atlassian.com/t5/Jira-articles/Automation-for-Jira-Send-web-request-using-Jira-REST-API/ba-p/1443828

Suggest an answer

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

Atlassian Community Events