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 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

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

How to remove Jira customfields in bulk with a Groovy script

IMPORTANT NOTE: This script removes permanently a subset of customfields of your Jira. Before launch this script, we STRONGLY recommend to create a backup (following the Atlassian instructions). MrAddon is not responsible of the bad use of this script, the data removed, or some consequence derived. This script removes permanently the Jira customfields that start…

Read More