New Groovy PostFunction Transition Linked Issue in STATUS X

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.

Advertisements

New Groovy PostFunction: Add fixed watcher on create issue transition

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.

How to change the UI styling of JIRA

Very easy with ScriptRunner! But first... you need to change the setenv.sh file from your bin folder of JIRA. We need to add to the JVM_REQUIRED_ARGS the system property plugin.resource.directories Once added to the target folder, you can upload here the CSS or JS files you need for you UI customizations. Then RESTART the jira … Continue reading How to change the UI styling of JIRA

How to remove the CLONE option in JIRA Projects

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

JIRA Scriptrunner REST Endpoint & Web Fragment example

This example show a button in the "More" option of the issue tickets called "Approve this issue". This button call a Scriptrunner REST custom Endpoint and returns a "flag" Object to be shown as alert in the ticket. First go to "Add-ons-> Scriptrunner --> REST Endpoints" and add this script: Then save the REST Endpoint. … Continue reading JIRA Scriptrunner REST Endpoint & Web Fragment example

TopRows JQL Function for JIRA 7.2 + Scriptrunner

New custom JQL function for JIRA 7.x to filter the TOP ROWS of a Query! Very useful! By default filters the TOP 10 rows. The JQL function is writed in Groovy and deployed with Adaptavist Scriptrunner. Syntax example: (to extract the top 20 rows of a project called JIRA) issuefunction in TopRows( "project = JIRA ORDER … Continue reading TopRows JQL Function for JIRA 7.2 + Scriptrunner

LastCommentContains JQL Function for JIRA 7.2 + Scriptrunner

Do you remember the old post LasCommentContains: New JQL custom function in groovy? With JIRA 7.2 and the new Adaptavist Scriptrunner, the JQL function must be rewrited to work properly. Because after the JIRA migration from JIRA 6.3 to JIRA 7.2 changes a lot of very common classes, etc. You can see the usual changes in … Continue reading LastCommentContains JQL Function for JIRA 7.2 + Scriptrunner

Migrating 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 … Continue reading Migrating Groovy scripts from JIRA 6 to JIRA 7

Now Jirasupport is MrAddon!

Good morning Jira addicts! 🙂 It's an enormous pleasure for me to present my new company based on Barcelona, called MrAddon. In this company, we will provide IT solutions based in the main Atlassian components and services like JIRA, Confluence, Bitbucket, HipChat, Crowd,etc. and the most famous JIRA plugins like Tempo Timesheets,  Adaptavist ScriptRunner, Moresimp … Continue reading Now Jirasupport is MrAddon!