You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Various Groovy Scripts for use in the Scriptrunner plugin on Atlassian JIRA
Index
Scripted Fields
Trimester-field-Deakin-Uni.groovy For generating a scripted custom field titled "Trimester"
Hour-of-day.groovy Extracts the created issue hour of the day and puts it in a number field. Allows easy querying in JQL by created hours (for example, issues created between 6pm and 9pm)
Day-of-week.groovy Extracts the created issue day of the week and puts it in a text field. Allows easy querying in JQL by day name/number (for example, issues created between 2.Monday and 5.Thursday)
Month-of-year.groovy Extracts the created issue month of the year and puts it in a text field. Allows easy querying in JQL by month name/number (for example, issues created on 2.February and 6.June)
Scripted Listeners
Issue-updated-custom-listener.groovy Used to stop notifications from changes to the labels field (still sends notifications for all other fields).