Here the sample code to add a fixed watcher on the create issue transition of a Workflow. Very easy and useful script! This is a script PostFunction of the Adaptavist Groovy ScriptRunner Atlassian JIRA Plugin. You can add, for example, a user linked to an email of a distribution list.
Very easy! Create the required TimeStamps custom fields to fill with a Listener or a PostFunction with Groovy Scriptrunner with a CODE like this Then create a Groovy Scripted Field in JIRA to calculate the SLA (ANS in spanish). You can follow this instructions to create the HTML field Put a code like THIS: That's … Continue reading Calculate the SLA with Scripted Field in ScriptRunner for JIRA
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 … Continue reading How to set format to the value of 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 … Continue reading How to create a Custom Field calculated in JIRA with JIRA MISC addon
Download the plugin Kepler Custom Fields Create a SIL Script Custom Field In the custom field configuration set a new script like this: Insert the custom field in the dashboard That's all!