This is the example code for a PostFunction to transition a linked Issue in status X to another status of the workflow. Very easy with Adaptavist Scriptrunner. See this code.
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 with Scriptrunner plugin! Go to "Cog Icon-->Add-ons-->SCRIPTRUNNER-->Script Fragments" Add a Hide option and insert these parameters. NOTE 1: Remember, the option must return "false" to hide the option. NOTE 2: replace "KAN" for the Key of the project you want to apply
Very easy, see this code:
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
Very easy with Adaptavist Scriptrunner / Groovy Scriptrunner Create a new field of type "Script Field Scriptrunner" Then go to "cog icon" --> Add-ons --> SCRIPTRUNNER --> Script Fields Select "Template" HTML Then in the script line add a code like this: NOTE: You can avoid a lot of lines of my code, it's only … Continue reading How to create a Custom URL field with title in JIRA
Very simple! Download the plugin Kepler Custom Fields Create a SIL Script Custom Field In the custom field configuration set a new script like this: return ldapUserRecord("attribute", "", "", "", "email@example.com", "user"); Remember to configure the LDAP connection Go to "Cog icon" --> Addons --> KEPLER --> LDAP Configuration URL = ldap://localhost:389 BIND USER = … Continue reading How to create a new JIRA Scripted Custom Field obtaining LDAP attributes