Starting with version 1.0.1 of Power Scripts for Confluence we are happy to introduce an integration between Power Scripts for Confluence and Comala Workflows. This integration will provide you an easy way to manage and file documents to keep Confluence spaces well organized.
With that integration you will be able:
- to archive a page or space with one simple operation such that it is no longer searchable or editable.
- to move pages into the Archive/Other spaces if they were not used for a while.
Make SIL and PS for Confluence compatible with Comala Workflows API so that users of both apps take advantage of both and can:
- write a script in PS for Confluence that listens to a Confluence page using Comala workflows for a state change.
- if this state change happens, then fire the script to move/archive the pages.
How it works
Along with Comala Workflows, Power Scripts for Confluence can now add a listener script to “listen” for when a page/ space is marked with respective state. Once this change happens through Comala Workflows, a script will automatically fire in Power Scripts for Confluence to move those pages to the appropriate section.
Use Case - Launch a script using listeners.
When a page reaches an 'Approved' state, you launch an event to trigger a script. This script would move that page to an 'Approved' section.
Possible Use cases
- You can have the workflow in confluence and as it goes to approved state and gets published, (think product requirements doc), then trigger Jira issue with info contained in the page.
- If you transition an Issue, if you have a Jira Issue that is associated with a page in Confluence, it will transition the page in Confluence as well.
- A script checks pages in a given state (e.g., Approved) and move those pages to another space (space wide on demand) or change the state of those pages (set workflow state). In this use case listener is not needed.
For more details please refer for Tutorials & Recipes for Confluence.