Create Confluence Cloud spaces from Jira Cloud Workflow Postfunction (with Scriptrunner)

First of all, create a new API Key Token: Create an API key: https://id.atlassian.com/manage/api-tokens# Combine the key with login name in base64 string, go to https://www.base64encode.org/  Format is loginname:API-key exampel: email@email.com:ABCDE12345 give result: a3Jpc3Rlci5icm9tYW5AYWR2YW5pYS5zZTpBQkNERTEyMzQ1 Combine this with the authentication type in the below case a basic so the full text is: Basic a3Jpc3Rlci5icm9tYW5AYWR2YW5pYS5zZTpBQkNERTEyMzQ1  Now we are ready to create the…

Read More