Dear community,
I've been tinkering around with Confluence Automations to automatically link Confluence pages to Jira issues. It works well, if Confluence needs to trigger Jira (via a JQL branching rule, that requests the correct issue), but not at all if Jira needs to trigger Confluence.
So far there is only one action in Jira automation that does something in Confluence and that is "create page", but none to edit a page or page status. The only way I saw was a web request from Jira to Confluence that then triggers the status change in Confluence - the idea is this:
issue with page id in a custom field transitioned > Jira automation sends a web request (with page id in its body) to Confluence webhook URL > Confluence webhook gets triggered and reads the web request body > page status is being changed.
I tried now to send a web request from Jira to Confluence and for a few runs of the automation rule it worked (albeit with errors, since I didn't format the body correctly), but then Confluence suddenly stopped reacting. There is no action logged, although I sent multiple web requests to the correct address.
I can't work out at all, why it suddenly stopped working - it won't even work if I create two completely new rules (one "outgoing" in Jira, one "incoming" in Jira).
Does anyone have an idea what I could have forgot?
Thanks in advance!
Edit: clarification on what I tried to achieve
Hey @Koloman Pfeffer I am the Product Marketing Manager at Seibert Media, and I think our app, AutoPage, is the perfect solution for what you're looking for.
With AutoPage, you can automatically create Confluence pages from Jira issues. That means you can display Jira content on a Confluence page, which will be linked and also synchronized live. AutoPage can also be used with Jira automation. It provides webhooks you can easily add as an action.
Hope that helps!
AutoPage - Display Jira data in Confluence with automation | Atlassian Marketplace
If you'd like to discuss your use case a bit further or if we can help you with the setup, feel free to jump on a call with us!
Hi Lukas,
your App looks interesting, but I saw in your documentation that it's primarily focused on automated page creation. Can it also link existing issues with existing pages and/or act on the linked page e.g. on issue transition?
What I want to achieve is that When an issue transitions, that this triggers a change of the linked page's status (e.g. from "Draft" to "Approved").
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Koloman Pfeffer I'm glad to hear that you're interested in our features!
Once the Confluence pages are created through a rule or automation via AutoPage, they will be linked to Jira. For example, a trigger could be a change in the status of a Jira issue.
You can set up a template in Confluence that specifies which issue data will be displayed using macros, such as "status" or "reporter."
The data on the page is synchronized live, so if the status of an issue linked to a Confluence page changes to "Done," it will be reflected on the Confluence page immediately.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I read this a few times to be sure I understand, but I'm not sure I do.
This seems to be more of a Jira Automation question. You have a Jira Automation that is no longer working to create a Confluence page? At some point it was working but you got errors, and then it stopped working?
I have tried recreating this in my test environment and have been able to create Confluence pages from Jira Automation, hate to give you an "it works for me" answer. Look at your configuration and permissions is my advice.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shawn,
thanks for your answer, but that's not quite what I tried to do, I just wanted to explain, that the only action to do anything with a Confluence page in Jira Automation is "create page", but there are no other actions like "edit page" or "change page status".
In Confluence on the other hand there are actions to create, edit and transition Jira issues but also to change a page status.
Now the task I want to accomplish is to change a Confluence page status, once a specific Jira issue transitions to a specific status. The only way that seems to be possible is to create an automation in Jira that on issue transition sends a web request.
On the Confluence side there is another automation rule that is triggered by an incoming webhook. For a couple of times this got triggered fine by the Jira web request, but all of a sudden it completely stopped working. Jira is sending the web request correctly (I checked that with pipedream), but nothing happens in Confluence any more. The audit-log in Confluence doesn't show that it was triggered, I double checked the URL of the webhook and even tried with completely new rules. Nothing gets through anymore.
Do you have any idea why it stopped working?
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.