In this example we will create a new Dialog inside Jira using Scriptrunner, a little bit of HTML, Groovy and Javascript. First we will create 2 REST Endpoints (one to show the Dialog and another one to show a HTML page with the results of the action). Custom REST EndPoint: showDialogExample (example code extracted from…
Read MoreGroovy Amigo for Jira: Free alternative to Scriptrunner?
Linkedin message of Nikita Teplov: … Hello everybody! We create an alternative to Script-runner, and we added a number of features which we had not had earlier. Features: – Scripts Registry for workflows (you can add inline scripts in the workflow) – Recurring tasks – Liseners – Scripted fields – Console for debugging – Scripts…
Read MoreIT Services, JIRA Plugins & Trainings @Barcelona(Spain) @Bologna(Italy)
We provide solutions and integrations for your business needs. We provide BPO Services. We share our know-how in Agile Software developments (Scrum & Kanban) providing consulting services with the best professional tools We are experts in all Atlassian products ( JIRA, Confluence, Bitbucket, Hip Chat) and of some of the best plugins (Tempo, eazyBI, JExcel,…
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 MoreHow 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…
Read MoreGroovy REST WS call example to TEMPO JIRA plugin
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 =…
Read MoreNew custom Listener for JIRA 6: Add label / Set label when issue created in project X
Veryyyy easy!
Read MoreNew JIRA Listener example: Copy ticket & link
How to connect to LDAP with Groovy in JIRA
The best way is using @Grab to download in Runtime the LDAP library from Apache.org servers. More info about the class By MrAddon .
Read MoreJQL Custom Function UserInRole (with Groovy for JIRA)
JQL Syntax sample: project = XXX AND issueFunction in UserInRole(” “, assignee, “Developer”) // note the space in the first parameter, this syntax is less efficient issueFunction in UserInRole(” project = XXX “, assignee, “Developer”) //more efficient issueFunction in UserInRole(” project = XXX “, reporter, “Developer”)
Read More