java.lang.Object | ||
↳ | com.atlassian.jira.workflow.WorkflowFunctionUtils | |
↳ | com.atlassian.jira.workflow.condition.AbstractJiraCondition |
Known Direct Subclasses
AllowOnlyAssignee,
AllowOnlyReporter,
AlwaysFalseCondition,
CloseCondition,
InGroupCFCondition,
InProjectRoleCondition,
PermissionCondition,
ReferenceCondition,
SubTaskBlockingCondition,
UserInGroupCondition
|
Abstract base class for all JIRA workflow Conditions.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class com.atlassian.jira.workflow.WorkflowFunctionUtils |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method retrieves the original (unmodified) issue object that will be examined for the condition check.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.jira.workflow.WorkflowFunctionUtils
| |||||||||||||||||||||||||||
From class java.lang.Object | |||||||||||||||||||||||||||
From interface
com.opensymphony.workflow.Condition
|
This method retrieves the original (unmodified) issue object that will be examined for the condition check. In order to avoid multiple calls to the database to retrieve this object - include the original issue object in the map passed - transientVars - for example:
GenericValue originalIssueGV = ComponentAccessor.getIssueManager().getIssue(issue.getId()); fields.put(AbstractJiraCondition.ORIGINAL_ISSUE_KEY, IssueImpl.getIssueObject(originalIssueGV));
If this method is overwriten, the logic should accommodate the retrieval of the original issue object.
transientVars | see passesCondition(java.util.Map, java.util.Map, com.opensymphony.module.propertyset.PropertySet) |
---|
DataAccessException | If for some reason the issue doesn't exist. |
---|