Very useful Jira Groovy Postfunction to send a fixed mail with the description content of the issue using HTML. Very nice and pretty mails =) See attached code: By MrAddon
Read More
Very useful Jira Groovy Postfunction to send a fixed mail with the description content of the issue using HTML. Very nice and pretty mails =) See attached code: By MrAddon
Read MoreThis post is the continuation of: Jira Groovy Postfunction example to set Tempo Team and Tempo Account fields. Here another groovy script example to get the Worklogs of the Tempo Teams using the Tempo Timesheets REST API and Adaptavist Scriptrunner.
Read MoreThis 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.
Read MoreNew 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…
Read MoreDo 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…
Read MoreStep 1. Create the plugin project If you have not already set up the Atlassian Plugin SDK, do that now: Set up the Atlassian Plugin SDK and Build a Project. Enter the following command to create a plugin skeleton: atlas-create-jira-plugin Choose 1 for JIRA 5 when asked which version of JIRA you want to create…
Read MoreSyntax: issueFunction in LastCommentContains(” query…”, “text to find”) Isn’t Key Sensitive
Read MoreJQL 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 MoreHere is a function with two input parameters to show, as result, a list of issues that it’s worklogged hours sum more than the input parameter two. It’s an easy function to know how create new JQL custom methods.
Read MoreJQL functions: hasComments commented lastComment lastUpdated hasAttachments fileAttached workLogged dateCompare hasSubtasks subtasksOf parentsOf hasLinks hasLinkType linkedIssuesOf linkedIssuesOfRecursive linkedIssuesOfRecursiveLimited expression aggregateExpression issueFieldMatch issueFieldExactMatch myProjects recentProjects projectMatch / componentMatch / ver earliestUnreleasedVersionByRelease addedAfterSprintStart removedAfterSprintStart incompleteInSprint completeInSprint nextSprint previousSprint inSprint(board name, sprint name) See more in Adaptavist ScriptRunner
Read More