Hello, everybody;
I would like to get your input/suggestions; if maybe you know an easier/better way with the built-in features.
In our instance we have a custom field and some automation rules to populate it counting Overdue days.
Now, we are trying to sum up all the overdue days values (within a variable with this smartvalue: {{lookupIssues.customfield_Overdue Days.sum}} ) to then post it in a Confluence existing page, through a Jira Automation rule.
However, I am not very experienced with Confluence Cloud's API and since it seems it is moving to V2 I am unsure on the request syntax, and other details.
This is what I have so far; it's a little messed up because no matter what I try, it always fails with different HTTP error messages.
The GET was to try to get the rule to fetch the page version number and update it automatically before the PUT but I couln't find how to.
Hey @Christian Isaza if using a third-party app is an option, I recommend AutoPage. It allows you to automatically create Confluence pages from Jira issues based on predefined triggers (e.g., issue status changes).
These Confluence pages are automatically populated with relevant data from Jira issues that you want to display.
https://marketplace.atlassian.com/apps/1218503?tab=overview&hosting=cloud
Hope that helps!
Updating Confluence pages from rules can be challenging to get the format correct.
I recommend first hardcoding your numbers / values in the JSON to confirm you have the format correct. Then update to use your dynamic fields.
For example...
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.