public abstract class AbstractJiraCondition extends WorkflowFunctionUtils implements com.opensymphony.workflow.Condition
Condition
s.ORIGINAL_ISSUE_KEY
Constructor and Description |
---|
AbstractJiraCondition() |
Modifier and Type | Method and Description |
---|---|
protected Issue |
getIssue(Map transientVars)
This method retrieves the original (unmodified) issue object that will be examined for the condition check.
|
getCaller, getCallerKey, getCallerName, getCallerUser, getCallerUserFromArgs, getUserByKey, populateParamsWithUser, populateParamsWithUser
protected Issue getIssue(Map transientVars) throws DataAccessException
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 Condition.passesCondition(java.util.Map, java.util.Map, com.opensymphony.module.propertyset.PropertySet)
DataAccessException
- If for some reason the issue doesn't exist.Copyright © 2002-2021 Atlassian. All Rights Reserved.