This is an example os Script Listener using the plugin Adaptavist Scriptrunner. In this example we will try to sync components between Jira projects. This example of sync is only one direction, in other words, there is a “master” Project where we add new Components, and those Components are added at same time to the…
Read MoreExample of Listener with Groovy Amigo for Jira
In this example we want to create a simple Listener for Jira to reopen issues when are closed/done and someone comments the ticket. Imagine, we have a ticket in status “DONE” And there is a “new comment”. Then, the Listener must reopen the issue, and the ticket becomes in “TO DO” status. In this example,…
Read MoreJira Script Listener in groovy to create a ticket of VERSION on Release action in an Agile board
Sometimes we need to create a special ticket for the Versions that we Release (with the subtasks that composes the version listed inside the “Version” ticket, for example as linked issues). Using Groovy with Adaptavist Scriptrunner and JIRA this task is very easy. Just we need to configure an inline Script Listener in the Event:…
Read MoreHow to sync the Original Estimate from one issue to other linked with Scriptrunner Listener and JIRA
We can create a Script Listener triggered at UPDATE ISSUE event. Just copy/paste the code and configure the name of the Type of Link. Don’t forgive to set in the Screens the System field “Time Tracking” to set the Original Estimate!
Read MoreMigrating Groovy scripts from JIRA 6 to JIRA 7
Some examples of the “resyntax” conversion in Groovy with explicit option. See the entire API changes list here JIRA 6 JIRA 7 JIRA 6 JIRA 7 JIRA 6 JIRA 7 JIRA 6 JIRA 7 JIRA 6 JIRA 7 JIRA 6 JIRA 7 JIRA 6 JIRA 7 JIRA 6 JIRA 7 JIRA 6 JIRA 7 JIRA…
Read MoreNew groovy Listener to set the same fixversions to all subtasks in JIRA
Very easy!
Read MoreCalculate the SLA with Scripted Field in ScriptRunner for JIRA
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…
Read MoreNew custom Listener to set DueDate of original ticket with 2 Days less in the tickets linked in JIRA with Groovy ScriptRunner
JIRA New Listener example: Clone ticket and Link and add Watchers
New example… remember, to add watchers to the ticket, the ticket must be created previously
Read MoreNew custom Listener for JIRA 6: Add label / Set label when issue created in project X
Veryyyy easy!
Read More