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 avoid to log work in Jira Epics

Disable “Log work” on Epics in Jira is possible and it’s very easy, here the instructions: Create a Workflow only for the Epic In all statuses/steps of the workflow add this property: jira.permission.work.denied  Assign the Workflow to the Workflow Scheme of the target project and assign to the issue type Epic ( Remember to publish…

Read More

How to create a Jira Server script field to show in all parent ticket the SUM of some customfield of all subtasks

In this exercise we want to create a new custom field of type Scriptfield of Scriptrunner Jira plugin. This script field will sum all the values of some customfield of its subtasks. Just go to Add-ons –> Scriptrunner –> Script Fields and create a new Script field like this (Total…): Now place a script like…

Read More