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

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

How to set format to the value of a Custom Field calculated in JIRA with JIRA MISC addon

Very easy, first see this instructions to create the Custom Field To remove the decimal part of the resulting number from a division of two custom fields for example, and for adding the final character “%”, you can try to set in the “description” of the custom field (of type “Calculated Number”… for example) a…

Read More

How to create a Custom Field calculated in JIRA with JIRA MISC addon

To create a new custom field calculated, we can use the addon of JIRA “JIRA Misc Custom Fields”. The plugin can be downloaded from: https://marketplace.atlassian.com/plugins/com.innovalog.jmcf.jira-misc-custom-fields/server/overview Example of Custom Field that sum two different Custom Fields: 1.- Go to create new Custom Field. Select Type “Calculated Number Field” 2.- In the “description” of the new customfield set…

Read More