Flags Messages in Jira

Sometimes is difficult to extract this info, here the documentation and examples: Link to the documentation Name Type Default Description title String The title text of the flag. body String The body text of the flag. type String info Sets the type of the message. Valid options are “info“, “success“, “warning” and “error“. close String…

Read More

Curso de desarrollo Groovy para Jira Server

Objetivos En el curso instalaremos Jira Server y Adaptavist Scriptrunner (antiguamente conocido como Groovy Scriptrunner). Explicaremos: Script fields, Script Postfunctions, Script Conditions, Script listeners, Script services, Escalation services, jql custom functions, Behaviours, built-in scripts y web fragments & custom REST endpoints. Daremos ejemplos y casos de uso, haremos ejercicios prácticos y explicaremos alternativas a Scriptrunner…

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

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