Known Direct Subclasses
|
Class Overview
Abstract base class for all JIRA workflow Conditions.
Summary
Protected Methods |
Issue
|
getIssue(Map transientVars)
This method retrieves the original (unmodified) issue object that will be examined for the condition check.
|
Public Constructors
public
AbstractJiraCondition
()
Protected Methods
protected
Issue
getIssue
(Map transientVars)
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 origianlIssueGV = ComponentAccessor.getIssueManager().getIssue(issue.getId());
fields.put(AbstractJiraCondition.ORIGNAL_ISSUE_KEY, IssueImpl.getIssueObject(origianlIssueGV));
If this method is overwriten, the logic should accommodate the retrieval of the original issue object.
Returns
- the original issue object