Black JIRA

Sometimes, the JIRA Admins spend a lot of time viewing JIRA screens, and by default, the background of these screens are WHITE... it's very hard for my eyes... As possible solution, we can solve this problem installing a plugin in our Google Chrome Browser called "Stylish". You can download free here. Once installed in the … Continue reading Black JIRA

Advertisements

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

Calculate 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 … Continue reading Calculate the SLA with Scripted Field in ScriptRunner for JIRA

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 … Continue reading How to set format to the value of a Custom Field calculated in JIRA with JIRA MISC addon

How to create a Custom URL field with title in JIRA

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

How to create a new JIRA Scripted Custom Field obtaining LDAP attributes

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", "", "", "", "user@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