This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.onresolve.jira.groovy.jql | |
| import com.atlassian.crowd.embedded.api.User | |
| import com.atlassian.jira.jql.query.QueryCreationContext | |
| import com.atlassian.jira.util.MessageSet | |
| import com.atlassian.query.clause.TerminalClause | |
| import com.atlassian.query.operand.FunctionOperand | |
| import org.apache.lucene.search.Query | |
| class ABC extends AbstractScriptedJqlFunction implements JqlQueryFunction{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package examples | |
| import com.atlassian.crowd.embedded.api.User | |
| import com.atlassian.jira.issue.Issue | |
| import com.atlassian.jira.jql.operand.QueryLiteral | |
| import com.atlassian.jira.jql.query.QueryCreationContext | |
| import com.atlassian.jira.util.MessageSet | |
| import com.atlassian.query.clause.TerminalClause | |
| import com.atlassian.query.operand.FunctionOperand | |
| import com.onresolve.jira.groovy.jql.AbstractScriptedJqlFunction |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package examples.old | |
| import com.atlassian.jira.ComponentManager | |
| import com.atlassian.jira.issue.history.ChangeItemBean | |
| import com.atlassian.jira.issue.Issue | |
| import com.atlassian.core.util.DateUtils | |
| def componentManager = ComponentManager.getInstance() | |
| def changeHistoryManager = componentManager.getChangeHistoryManager() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package examples.docs | |
| import com.almworks.jira.structure.api.PermissionLevel | |
| import com.almworks.jira.structure.api.StructureServices | |
| import com.atlassian.jira.component.ComponentAccessor | |
| import com.atlassian.jira.issue.Issue | |
| import com.onresolve.scriptrunner.runner.customisers.PluginModule | |
| import com.onresolve.scriptrunner.runner.customisers.WithPlugin | |
| @WithPlugin("com.almworks.jira.structure") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package examples.docs | |
| import com.atlassian.greenhopper.service.rapid.view.RapidViewService | |
| import com.atlassian.greenhopper.service.sprint.SprintIssueService | |
| import com.atlassian.greenhopper.service.sprint.SprintManager | |
| import com.atlassian.jira.component.ComponentAccessor | |
| import com.atlassian.jira.issue.Issue | |
| import com.onresolve.scriptrunner.runner.customisers.JiraAgileBean | |
| import com.onresolve.scriptrunner.runner.customisers.WithPlugin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package examples.docs | |
| import com.atlassian.jira.component.ComponentAccessor | |
| import com.onresolve.scriptrunner.runner.customisers.JiraAgileBean | |
| import com.onresolve.scriptrunner.runner.customisers.WithPlugin | |
| import com.pyxis.greenhopper.GreenHopper | |
| @WithPlugin("com.pyxis.greenhopper.jira") | |
| @JiraAgileBean |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package examples | |
| import com.atlassian.greenhopper.model.validation.ErrorCollection | |
| import com.atlassian.greenhopper.service.rapid.view.RapidViewService | |
| import com.atlassian.greenhopper.web.rapid.view.RapidViewHelper | |
| import com.atlassian.jira.component.ComponentAccessor | |
| import com.onresolve.scriptrunner.runner.customisers.JiraAgileBean | |
| import com.onresolve.scriptrunner.runner.customisers.WithPlugin | |
| @WithPlugin("com.pyxis.greenhopper.jira") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package examples | |
| import com.almworks.jira.structure.api.PermissionLevel | |
| import com.almworks.jira.structure.api.StructureException | |
| import com.almworks.jira.structure.api.forest.ForestAccessor | |
| import com.almworks.jira.structure.api.forest.ForestTransaction | |
| import com.atlassian.jira.component.ComponentAccessor | |
| import com.atlassian.jira.issue.Issue | |
| import com.onresolve.scriptrunner.runner.customisers.PluginModule | |
| import com.onresolve.scriptrunner.runner.customisers.WithPlugin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package examples.usermgr | |
| import com.atlassian.jira.bc.JiraServiceContextImpl | |
| import com.atlassian.jira.bc.group.GroupRemoveChildMapper | |
| import com.atlassian.jira.bc.group.GroupService | |
| import com.atlassian.jira.component.ComponentAccessor | |
| import com.atlassian.jira.issue.Issue | |
| import com.opensymphony.workflow.loader.WorkflowDescriptor | |
| /* CONFIGURABLE SECTION */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package examples.usermgr | |
| import com.atlassian.jira.component.ComponentAccessor | |
| import com.atlassian.jira.issue.Issue | |
| import com.opensymphony.workflow.InvalidInputException | |
| /* CONFIGURABLE SECTION */ | |
| def parentGroupFieldName = "Parent Group" | |
| def childGroupFieldName = "Child Group" | |
| /* END CONFIGURABLE SECTION */ |