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

Working with Panels in the Jira Issue View

In this post we want to show how to change some parts of the web panels of the Jira Issue View context. We can start changing the default global settings of Jira (in the Advanced section). We can change the jira.table.cols.subtasks variable to add more fields to the web panel, also with the variable jira.view.issue.links.sort.order we…

Read More

ScriptRunner for Jira – Script Fields trick to use Common Classes

For a large scripts exist a trick to reduce the complexity of the Script Fields if you use classes that can be “common” and reused between other Script Fields. For example, imagine we want to create a Script field that show a report HTML inside the tickets with the Lean metrics. Something like this: And…

Read More

No permission scheme is associated with project ‘XXXX’ (QuickFix for Jira with Groovy script)

If your Jira server log is reporting this error: No permission scheme is associated with project ‘XXXX’ Try to launch a Groovy script like this to fix the error. Remember to set the PROJECT_KEY of the project affected, and a PERMISSION_SCHEME existent in your Jira. We recommed to use plugins like Adaptavist Scriptrunner or MyGroovy…

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