Changing Custom Fields Types in JIRA

Certain fields can be safely upgraded, such as Version and Select lists to their multiple values counterpart. You can change the “customfieldtypekey” in the “customfield” table to whatever you need it to be. The table below lists the keys for commonly changed fields. Custom Field Type Type Key Single Version com.atlassian.jira.plugin.system.customfieldtypes:version Multi Version com.atlassian.jira.plugin.system.customfieldtypes:multiversion Single…

Read More

Script JQL Functions: Included Functions in Groovy ScriptRunner

JQL 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

JIRA trick: Set one more category status color! The “undefined color” (black color)

To see one category status color more, you need only: Go to the JIRADB Database Execute SQL: SELECT * FROM jiradb.issuestatus; In the status you need “black color” set the field “STATUSCATEGORY” to 1 That’s all! Supported colors (in the standard) Field Summary Fields Modifier and Type Field and Description static String COMPLETE static String IN_PROGRESS…

Read More

Create a new plugin / add-on in JIRA to set custom CSS and Javascript / JS in all pages

Creating our first JIRA plugin “Hello World”: enter in C:\atlastutorial atlas-create-jira-plugin Enter 1 for JIRA 5 groupId: com.atlassian.tutorial artifactId: helloworld version: 1.0-SNAPSHOT package: com.atlassian.tutorial.helloworld Press Y to continue Browse to and open the atlastutorial/helloworld/src/main/resources/atlassian-plugin.xml file Modify helloworld.js and add inside a piece of code like this: “alert(“Hola!”)” Modify the tag <context> to active the Javascript…

Read More

Create a new Add-on or Plugin in JIRA to show more options in the Main Menu /General Menu

Creating our first JIRA plugin “Hello World”: enter in C:\atlastutorial atlas-create-jira-plugin Enter 1 for JIRA 5 groupId: com.atlassian.tutorial artifactId: helloworld version: 1.0-SNAPSHOT package: com.atlassian.tutorial.helloworld Press Y to continue Add a module to the plugin: enter in C:\atlastutorial atlas-create-jira-plugin-module Select the 30 Web Section item by entering 30. Answer each question as follows: Question Value Description…

Read More