Hi all,
To save time, I've managed to create an automation so we can create a Confluence page directly from the story. This works well 🎉
However, when the automation is finished, I want to do two things:
I cannot find any configuration possibilities to do this. Who can help me? 🥹
Another question (:
In the automation which is triggered manually, the actor is the user who triggered the event. Somehow, I - the rule owner - become the owner of the newly created page and I don't understand why.
What am I missing?
Hi @Jagmohan
That does not appear to be possible yet with the REST API. You may want to follow this post in the developer community to see if there are updates:
https://community.developer.atlassian.com/t/page-owner-apis/71284
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
By some trial & error I stumbled upon the smart values, but I can't figure out the Webhook action part. Can you elaborate?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jagmohan ,
Opening the Newly Created Page:
To open the newly created Confluence page either in the current tab or a new tab, you can utilize Jira's automation features.
For opening the page in the current tab: When configuring the automation rule, add a "Smart Value" action that uses the "URL" smart value to construct the URL of the newly created page. Then, add a "Webhook" action that uses the "URL" smart value as the URL to open.
For opening the page in a new tab: Similarly, when configuring the automation rule, add a "Smart Value" action to construct the URL of the newly created page. Then, use the appropriate Jira automation action (e.g., "Send email", "Send Slack message") to send a notification containing the URL to yourself or relevant team members. They can click on the URL in the notification to open the page in a new tab.
Linking the Newly Created Page to the Story:
By default, Jira doesn't provide direct linking of Confluence pages to stories. However, you can still establish a connection between the newly created Confluence page and the original story by adding a reference in the story's description or comments.
In the automation rule, include an action to update the description or comments of the original story with a link to the newly created Confluence page. You can use a smart value to dynamically generate the URL of the Confluence page and format it as a hyperlink.
For example, in the automation rule, you can use the "Edit issue" action to add a comment to the story with a message like: "A Confluence page has been created for this story. Link to Confluence Page". Replace <confluence_page_url> with the actual URL of the newly created Confluence page.
This way, the story will have a clickable link in its description or comments that leads to the corresponding Confluence page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your suggestions! I added an action to create a comment in the story using {{createdPage.url}} - so that's good enough for now.
However, I can't figure out the "add a smart value action ... URL to open". Can you provide some screenshots or URL to a tutorial? Because I don't see any options to do that
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That action does not exist, I'm afraid the answer was written by an AI that does not know what it is doing.
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.