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

How to install a PHP JIRA REST API Client

In this example, we will try to install in 5 minutes a PHP Jira Client script in a MacOS system. The prerequisites are: (Homebrew) brew for MacOS CURL for MacOS PHP 7 for MacOS Composer for MacOS php-jira-rest-client library Install instructions with example: Download and Install PHP Composer. curl -sS https://getcomposer.org/installer | php Next, run…

Read More

How to create a Jira custom field with options from an external REST API

To do this exercise, we will use the famous plugin for Jira called Adaptavist Scriptrunner. First step, we need to create a REST Endpoint in our Jira Server. This REST Endpoint will query the external REST API to obtain the values and options (In this example we will query GitHub to obtain a list of…

Read More

How to print custom PDF templates of Jira tickets using Confluence

In this example, we will create a Confluence page and we will use it as “Template” to print documents (in this case issue tickets) in PDF or directly to the printer. Based on this exercise:  How to show Jira ticket fields in Confluence pages As prerequisites we need: Jira Server Confluence Server Optional: Atlassian Crowd to…

Read More