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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,465,232
Community Members
 
Community Events
176
Community Groups

Linking Confluence Page created by Jira Automation

Hi Community!

I just started playing around with the newish Automation feature of "Create Confluence Page".  I have a very simple rule where Issue Created > Create Confluence Page.  Ideally, I'd like to have the automation update the trigger issue with the generated Confluence page, via link in comment or any other linking methods.  This would normally be a very simple task to achieve if I was linking a Jira issue, but I'm not finding ways to link the newly created Confluence page.  

Please let me know if I've overlooked something or if you have any suggestions.

Thanks in advance!

 

2 answers

1 accepted

0 votes
Answer accepted
Jack Brickey Community Leader Jul 10, 2022

Unfortunately the ability to link the Confluence page is not available via automation. Yet anyway. Your best option out of the box would be to add a link on the Confluence page back to the Jira issue.

Hey Jack,

Indeed, it is unfortunate. But the silver lining is that Automation is taking steps in the right direction.

Thanks for your confirmation!

Like Michael Thomas likes this

Is is possible to automate adding a link to the triggered jira issue on the confluence page that is created?

It's possible that this feature was added since you asked the question, but using the Create page in Confluence automation action creates a  {{createdPage}} and  {{createdPages}} smart values, which can then be added to comments or fields.

Unfortunately it doesn't seem like automation has (easy) access to the "Link Confluence Page" function which is accessed through the issue Action Menu, but it might be possible using Advanced Field Configuration or a call to the issue's editmeta.  

To add to this, it looks like the Confluence Links on an issue are a "remote link" and these don't appear to be editable via the Advanced Field Configuration on the "Edit Issue" Automation action.

So to link a Confluence page to an issue with Automation, it will have to be using the "Send web request" Automation action to use the API against the issue itself.

Like # people like this

@Mick Szucs , thank you for providing this!  It's very interesting to me and I'd like to try something similar.  Would you mind providing an example of what that Send web request would look like?  It would help me greatly.

It's not something I've taken the time to build.  My current use-case occurs rarely enough that I'm able to get away with just providing instructions on how to link the page to the issue manually.

If I come back around to it I'll update this thread.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events