Class MockIssue
- All Implemented Interfaces:
WithId,WithKey,IssueContext,Issue,MutableIssue,OfBizValueWrapper,Serializable
- See Also:
-
Field Summary
Fields inherited from interface com.atlassian.jira.issue.context.IssueContext
GLOBALFields inherited from interface com.atlassian.jira.entity.WithId
ID_COMPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionThis constructor does not have any time precision set by default use MockIssue(Long id, Long now) if you want to preset the Issue's time values.MockIssue(long id) This constructor does not have any time precision set by default use MockIssue(Long id, Long now) if you want to preset the Issue's time values.This constructor does not have any time precision set by default use MockIssue(Long id, Long now) if you want to preset the Issue's time values.Use this constructor if you want time precision in your testsMockIssue(org.ofbiz.core.entity.GenericValue gv) Use this constructor if you have a gv -
Method Summary
Modifier and TypeMethodDescriptionbooleanFor interactivity, implementations must be based on the issue key.Returns the userid of user who archived this issue, or null if it wasn't archived.Returns the user who archived this issue, or null if it wasn't archived.Returns the timestamp when this issue was archived, or null if it wasn't archived.Returns the Assignee User.Returns the Assignee User.Deprecated.getCustomFieldValue(CustomField customField) This is the "remaining estimate" of work left to be performed on this issue, in seconds.getExternalFieldValue(String fieldId) org.ofbiz.core.entity.GenericValueGet the backing GenericValue object.protected org.ofbiz.core.entity.GenericValuegetId()Gets the IssueType for this Issue.Gets the ID of the IssueType for this Issue.Gets the IssueType for this Issue.getKey()Returns a set of all the labels for this issue or an empty set if none exist yet.Retrieve a numeric field.Retrieve a map of issue fields whose values have been set (since object creation or lastMutableIssue.resetModifiedFields()call.This is the "original estimate" of work to be performed on this issue, in seconds.org.ofbiz.core.entity.GenericValueIf this issue is a subtask, return its parent.Returns the Priority for this Issue.Returns the Priority for this Issue.org.ofbiz.core.entity.GenericValueGets the ID of the Project for this Issue.Gets the Project for this Issue.Returns the Reporter User.Returns the Reporter User.Returns the Resolution for this Issue.Returns the datetime that an issue was resolved on.Returns the Resolution for this Issue.org.ofbiz.core.entity.GenericValueReturns the Security Level for this Issue.Returns the Security Level for this Issue.Retrieve a String field.Gets all the issue's subtasks.Collection<org.ofbiz.core.entity.GenericValue> This is the "total time spent" working on this issue, in seconds.getTimestamp(String name) Retrieve a timestamp field.getVotes()booleanReturns true if issue is archivedbooleanbooleanbooleanisStored()booleanvoidReset the internal list of modified fields.voidsetAffectedVersions(Collection affectedVersions) voidsetArchived(boolean archived) voidsetArchivedDate(Timestamp archivedDate) voidsetAssignee(ApplicationUser assignee) voidsetAssigneeId(String assigneeId) Sets the user that this issue is assigned to.voidsetAttachments(Collection<Attachment> attachments) voidsetComponent(Collection<ProjectComponent> components) Sets the components for this Issue.voidsetCreated(Timestamp created) voidsetCreatorId(String creatorId) voidsetCustomFieldValue(CustomField customField, Object value) Sets a custom field value on this Issue Object, but does not write it to the database.voidsetDescription(String description) voidsetDueDate(Timestamp dueDate) voidsetEnvironment(String environment) voidsetEstimate(Long estimate) voidsetExternalFieldValue(String fieldId, Object value) This can be used by a field to "place" a custom object into the MutableIssue so that it can be retrieved by key at a later point via theMutableIssue.getModifiedFields()andIssue.getExternalFieldValue(String).voidsetExternalFieldValue(String fieldId, Object oldValue, Object newValue) This can be used bya field to "place" a custom object into the MutableIssue so that it can be retrieved by key at a later point via theMutableIssue.getModifiedFields()andIssue.getExternalFieldValue(String).voidsetFixVersions(Collection fixVersions) voidsetGenericValue(org.ofbiz.core.entity.GenericValue genericValue) voidvoidsetIssueType(IssueType issueType) voidsetIssueType(org.ofbiz.core.entity.GenericValue issueType) voidsetIssueTypeId(String issueTypeId) voidsetIssueTypeObject(IssueType issueTypeObject) Sets the IssueType for this Issue.voidvoidSet the labels for this issue.voidsetModifiedFields(Map modifiedFields) voidvoidsetOriginalEstimate(Long originalEstimate) voidsetParentId(Long parentId) Sets the ParentId of this Issue.voidsetParentObject(Issue parentIssue) Sets the parent Issue Object for this Issue (subtask).voidsetPriority(Priority priority) Sets the priority for this Issue.voidsetPriorityId(String priorityId) Sets the priority for this Issue.voidsetPriorityObject(Priority priority) Sets the priority for this Issue.voidsetProject(org.ofbiz.core.entity.GenericValue project) Sets the Project for this Issue.voidsetProjectId(Long projectId) Sets the project by id.voidsetProjectObject(Project projectObject) Sets the Project for this Issue.voidsetReporter(ApplicationUser reporter) voidsetReporterId(String reporterId) Sets the reporter in this issue.voidsetResolution(Resolution resolution) Sets the resolution for this Issue.voidsetResolution(org.ofbiz.core.entity.GenericValue resolution) voidsetResolutionDate(Timestamp resolutionDate) voidsetResolutionId(String resolutionId) voidsetResolutionObject(Resolution resolutionObject) Sets the resolution for this Issue.voidsetSecurityLevel(org.ofbiz.core.entity.GenericValue securityLevel) Sets the SecurityLevel for this Issue.voidsetSecurityLevelId(Long securityLevelId) Sets the SecurityLevel for this Issue.voidSets the status for this Issue.voidsetStatus(org.ofbiz.core.entity.GenericValue status) voidsetStatusId(String statusId) Set issue's status by status id ("1", "2" etc).voidsetStatusObject(Status status) Sets the status for this Issue.voidsetSubTaskObjects(Collection subTaskObjects) voidsetSummary(String summary) voidsetTimeSpent(Long timespent) voidsetUpdated(Timestamp updated) voidvoidsetWatches(Long watches) voidsetWorkflowId(Long workflowId) voidstore()Persist this issue's immediate fields.toString()
-
Constructor Details
-
MockIssue
public MockIssue() -
MockIssue
This constructor does not have any time precision set by default use MockIssue(Long id, Long now) if you want to preset the Issue's time values. -
MockIssue
public MockIssue(long id) This constructor does not have any time precision set by default use MockIssue(Long id, Long now) if you want to preset the Issue's time values. -
MockIssue
This constructor does not have any time precision set by default use MockIssue(Long id, Long now) if you want to preset the Issue's time values. -
MockIssue
-
MockIssue
Use this constructor if you want time precision in your tests -
MockIssue
public MockIssue(org.ofbiz.core.entity.GenericValue gv) Use this constructor if you have a gv
-
-
Method Details
-
getId
-
getProject
public org.ofbiz.core.entity.GenericValue getProject()- Specified by:
getProjectin interfaceIssue
-
getProjectObject
Description copied from interface:IssueGets the Project for this Issue.- Specified by:
getProjectObjectin interfaceIssue- Specified by:
getProjectObjectin interfaceIssueContext- Returns:
- The Project for this Issue.
-
setProjectObject
Description copied from interface:MutableIssueSets the Project for this Issue.- Specified by:
setProjectObjectin interfaceMutableIssue- Parameters:
projectObject- the new Project
-
setProject
public void setProject(org.ofbiz.core.entity.GenericValue project) Description copied from interface:MutableIssueSets the Project for this Issue.- Specified by:
setProjectin interfaceMutableIssue- Parameters:
project- the new Project
-
getIssueType
Description copied from interface:IssueGets the IssueType for this Issue.- Specified by:
getIssueTypein interfaceIssue- Specified by:
getIssueTypein interfaceIssueContext- Returns:
- The IssueType for this Issue.
-
getIssueTypeObject
Description copied from interface:IssueGets the IssueType for this Issue.- Specified by:
getIssueTypeObjectin interfaceIssue- Specified by:
getIssueTypeObjectin interfaceIssueContext- Returns:
- The IssueType for this Issue.
-
setIssueType
public void setIssueType(org.ofbiz.core.entity.GenericValue issueType) -
setIssueType
- Specified by:
setIssueTypein interfaceMutableIssue
-
setIssueTypeId
- Specified by:
setIssueTypeIdin interfaceMutableIssue
-
getSummary
- Specified by:
getSummaryin interfaceIssue
-
setSummary
- Specified by:
setSummaryin interfaceMutableIssue
-
getAssigneeUser
Description copied from interface:IssueReturns the Assignee User.If there is no assignee it returns null, else it is guaranteed to return a non-null User. If the User is no longer available, it will create a dummy User object based on the username.
Legacy synonym for
Issue.getAssignee()- Specified by:
getAssigneeUserin interfaceIssue- Returns:
- the Assignee User.
- See Also:
-
getAssignee
Description copied from interface:IssueReturns the Assignee User.Warning: previous incarnations of this method returned
com.opensymphony.user.User. This class has now been removed from the JIRA API, meaning that the 5.0 version is not binary or source compatible with earlier versions.- Specified by:
getAssigneein interfaceIssue- Returns:
- the Assignee User.
-
getAssigneeId
- Specified by:
getAssigneeIdin interfaceIssue- Returns:
- a user key of the assignee
-
setAssignee
- Specified by:
setAssigneein interfaceMutableIssue
-
setComponent
Description copied from interface:MutableIssueSets the components for this Issue.- Specified by:
setComponentin interfaceMutableIssue- Parameters:
components- the new components value
-
getComponents
- Specified by:
getComponentsin interfaceIssue- Returns:
- collection of project components (as objects) that this issue is assigned to
-
getComponentObjects
Deprecated.UsegetComponents(). Since v7.0- Specified by:
getComponentObjectsin interfaceIssue- Returns:
-
setAssigneeId
Description copied from interface:MutableIssueSets the user that this issue is assigned to. Note that this should be the userkey, not the username.- Specified by:
setAssigneeIdin interfaceMutableIssue- Parameters:
assigneeId- The user key.
-
getReporterUser
Description copied from interface:IssueReturns the Reporter User.This will return a non-null User object even if the User has been deleted.
Legacy synonym for
Issue.getReporter().- Specified by:
getReporterUserin interfaceIssue- Returns:
- the Reporter User.
- See Also:
-
getReporter
Description copied from interface:IssueReturns the Reporter User.Warning: previous incarnations of this method returned
com.opensymphony.user.User. This class has now been removed from the JIRA API, meaning that the 5.0 version is not binary or source compatible with earlier versions.- Specified by:
getReporterin interfaceIssue- Returns:
- the Reporter User.
-
getReporterId
- Specified by:
getReporterIdin interfaceIssue- Returns:
- a user key of the reporter
-
getCreator
- Specified by:
getCreatorin interfaceIssue
-
getCreatorId
- Specified by:
getCreatorIdin interfaceIssue- Returns:
- a user key of the creator
-
setCreatorId
-
setReporter
- Specified by:
setReporterin interfaceMutableIssue
-
setReporterId
Description copied from interface:MutableIssueSets the reporter in this issue. Note that this should be the userkey, not the username.- Specified by:
setReporterIdin interfaceMutableIssue- Parameters:
reporterId- userkey of the desired reporter.- See Also:
-
getDescription
- Specified by:
getDescriptionin interfaceIssue
-
setDescription
- Specified by:
setDescriptionin interfaceMutableIssue
-
getEnvironment
- Specified by:
getEnvironmentin interfaceIssue
-
setEnvironment
- Specified by:
setEnvironmentin interfaceMutableIssue
-
getAffectedVersions
- Specified by:
getAffectedVersionsin interfaceIssue- Returns:
- a collection of 'affects'
Versionobjects.
-
getFixVersions
- Specified by:
getFixVersionsin interfaceIssue- Returns:
- a collection of fix-for
Versionobjects.
-
getDueDate
- Specified by:
getDueDatein interfaceIssue
-
getSecurityLevel
public org.ofbiz.core.entity.GenericValue getSecurityLevel()Description copied from interface:IssueReturns the Security Level for this Issue.- Specified by:
getSecurityLevelin interfaceIssue- Returns:
- the Security Level for this Issue.
-
getIssueTypeId
Description copied from interface:IssueGets the ID of the IssueType for this Issue.- Specified by:
getIssueTypeIdin interfaceIssue- Specified by:
getIssueTypeIdin interfaceIssueContext- Returns:
- The ID of the IssueType for this Issue.
-
getPriorityId
-
getProjectId
Description copied from interface:IssueGets the ID of the Project for this Issue.- Specified by:
getProjectIdin interfaceIssue- Specified by:
getProjectIdin interfaceIssueContext- Returns:
- The ID of the Project for this Issue.
-
getResolutionId
- Specified by:
getResolutionIdin interfaceIssue
-
getSecurityLevelId
Description copied from interface:IssueReturns the Security Level for this Issue.- Specified by:
getSecurityLevelIdin interfaceIssue- Returns:
- the Security Level for this Issue.
-
getPriority
Description copied from interface:IssueReturns the Priority for this Issue.- Specified by:
getPriorityin interfaceIssue- Returns:
- the Priority for this Issue.
-
getPriorityObject
Description copied from interface:IssueReturns the Priority for this Issue.- Specified by:
getPriorityObjectin interfaceIssue- Returns:
- the Priority for this Issue.
-
getStatusId
- Specified by:
getStatusIdin interfaceIssue
-
setAffectedVersions
- Specified by:
setAffectedVersionsin interfaceMutableIssue- Parameters:
affectedVersions- A collection of 'affects'Versionobjects.
-
setFixVersions
- Specified by:
setFixVersionsin interfaceMutableIssue- Parameters:
fixVersions- A collection of fix-forVersionobjects.
-
setDueDate
- Specified by:
setDueDatein interfaceMutableIssue
-
setSecurityLevel
public void setSecurityLevel(org.ofbiz.core.entity.GenericValue securityLevel) Description copied from interface:MutableIssueSets the SecurityLevel for this Issue.- Specified by:
setSecurityLevelin interfaceMutableIssue- Parameters:
securityLevel- the new SecurityLevel value
-
setPriority
Description copied from interface:MutableIssueSets the priority for this Issue.- Specified by:
setPriorityin interfaceMutableIssue- Parameters:
priority- the new priority value
-
setPriorityObject
Description copied from interface:MutableIssueSets the priority for this Issue.- Specified by:
setPriorityObjectin interfaceMutableIssue- Parameters:
priority- the new priority value
-
setId
-
setIssueTypeObject
Description copied from interface:MutableIssueSets the IssueType for this Issue.- Specified by:
setIssueTypeObjectin interfaceMutableIssue- Parameters:
issueTypeObject- the new IssueType
-
setProjectId
Description copied from interface:MutableIssueSets the project by id.- Specified by:
setProjectIdin interfaceMutableIssue- Parameters:
projectId- The id of the project
-
setSecurityLevelId
Description copied from interface:MutableIssueSets the SecurityLevel for this Issue.- Specified by:
setSecurityLevelIdin interfaceMutableIssue- Parameters:
securityLevelId- the new SecurityLevel value
-
setPriorityId
Description copied from interface:MutableIssueSets the priority for this Issue.- Specified by:
setPriorityIdin interfaceMutableIssue- Parameters:
priorityId- the new priority value
-
getResolution
Description copied from interface:IssueReturns the Resolution for this Issue.- Specified by:
getResolutionin interfaceIssue- Returns:
- the Resolution for this Issue.
-
setResolutionObject
Description copied from interface:MutableIssueSets the resolution for this Issue.- Specified by:
setResolutionObjectin interfaceMutableIssue- Parameters:
resolutionObject- the new resolution value
-
getResolutionObject
Description copied from interface:IssueReturns the Resolution for this Issue.- Specified by:
getResolutionObjectin interfaceIssue- Returns:
- the Resolution for this Issue.
-
setResolution
public void setResolution(org.ofbiz.core.entity.GenericValue resolution) -
setResolution
Description copied from interface:MutableIssueSets the resolution for this Issue.- Specified by:
setResolutionin interfaceMutableIssue
-
getKey
-
setKey
- Specified by:
setKeyin interfaceMutableIssue- Parameters:
key-
-
setNumber
- Specified by:
setNumberin interfaceMutableIssue
-
getNumber
-
getVotes
-
setVotes
- Specified by:
setVotesin interfaceMutableIssue
-
getWatches
- Specified by:
getWatchesin interfaceIssue
-
setWatches
- Specified by:
setWatchesin interfaceMutableIssue
-
getCreated
- Specified by:
getCreatedin interfaceIssue
-
setCreated
- Specified by:
setCreatedin interfaceMutableIssue
-
getUpdated
- Specified by:
getUpdatedin interfaceIssue
-
getResolutionDate
Description copied from interface:IssueReturns the datetime that an issue was resolved on. Will be null if it hasn't been resolved yet, or if an issue has been returned to the 'unresolved' state.- Specified by:
getResolutionDatein interfaceIssue- Returns:
- Timestamp of when an issue was resolved, or null
-
setResolutionDate
- Specified by:
setResolutionDatein interfaceMutableIssue
-
setUpdated
- Specified by:
setUpdatedin interfaceMutableIssue
-
getWorkflowId
- Specified by:
getWorkflowIdin interfaceIssue
-
getCustomFieldValue
- Specified by:
getCustomFieldValuein interfaceIssue- Parameters:
customField- the CustomField- Returns:
- A custom field's value. Will be a List, User, Timestamp etc, depending on custom field type.
-
getStatus
-
getStatusObject
- Specified by:
getStatusObjectin interfaceIssue
-
setWorkflowId
- Specified by:
setWorkflowIdin interfaceMutableIssue
-
setStatusId
Description copied from interface:MutableIssueSet issue's status by status id ("1", "2" etc).- Specified by:
setStatusIdin interfaceMutableIssue- Parameters:
statusId- the new StatusId.
-
getModifiedFields
Description copied from interface:MutableIssueRetrieve a map of issue fields whose values have been set (since object creation or lastMutableIssue.resetModifiedFields()call.- Specified by:
getModifiedFieldsin interfaceMutableIssue- Returns:
- A Map of key -> ModifiedValue pairs, where keys are defined in
IssueFieldConstantsand the value objects in the ModifiedValue are field-specific.
-
setParentObject
Description copied from interface:MutableIssueSets the parent Issue Object for this Issue (subtask).Normally a subtask just has the ID of the parent set using
setParentId(). In this case, the getParentObject() method will look up the parent object from the DB (or cache). However, when you are editing a parent and its subtask within a transaction (eg a Bulk Move), it is useful to be able to link the subtask to the pending parent object in order that it can see the new values for the parent.- Specified by:
setParentObjectin interfaceMutableIssue- Parameters:
parentIssue- the required parent Issue for this subtask.- See Also:
-
setModifiedFields
-
resetModifiedFields
public void resetModifiedFields()Description copied from interface:MutableIssueReset the internal list of modified fields.- Specified by:
resetModifiedFieldsin interfaceMutableIssue- See Also:
-
isSubTask
public boolean isSubTask() -
getParentId
- Specified by:
getParentIdin interfaceIssue
-
setParentId
Description copied from interface:MutableIssueSets the ParentId of this Issue.- Specified by:
setParentIdin interfaceMutableIssue- Parameters:
parentId- The new parentId.- See Also:
-
isCreated
public boolean isCreated() -
getParent
public org.ofbiz.core.entity.GenericValue getParent() -
getParentObject
Description copied from interface:IssueIf this issue is a subtask, return its parent.- Specified by:
getParentObjectin interfaceIssue- Returns:
- The parent Issue, or null if the issue is not a subtask.
-
getSubTasks
- Specified by:
getSubTasksin interfaceIssue
-
getSubTaskObjects
Description copied from interface:IssueGets all the issue's subtasks.- Specified by:
getSubTaskObjectsin interfaceIssue- Returns:
- A collection of
MutableIssues
-
getString
Description copied from interface:OfBizValueWrapperRetrieve a String field.- Specified by:
getStringin interfaceOfBizValueWrapper- Parameters:
name- the field name- Returns:
- the value for the given field.
-
getTimestamp
Description copied from interface:OfBizValueWrapperRetrieve a timestamp field.- Specified by:
getTimestampin interfaceOfBizValueWrapper- Parameters:
name- the field name- Returns:
- the value for the given field.
-
getLong
Description copied from interface:OfBizValueWrapperRetrieve a numeric field.- Specified by:
getLongin interfaceOfBizValueWrapper- Parameters:
name- the field name- Returns:
- the value for the given field.
-
getGenericValue
public org.ofbiz.core.entity.GenericValue getGenericValue()Description copied from interface:IssueGet the backing GenericValue object.- Specified by:
getGenericValuein interfaceIssue- Specified by:
getGenericValuein interfaceOfBizValueWrapper- Returns:
- the backing GenericValue object.
-
getHackedGVThatReturnsId
protected org.ofbiz.core.entity.GenericValue getHackedGVThatReturnsId() -
setGenericValue
public void setGenericValue(org.ofbiz.core.entity.GenericValue genericValue) -
store
public void store()Description copied from interface:MutableIssuePersist this issue's immediate fields. This is for internal usage only.- Specified by:
storein interfaceMutableIssue- Specified by:
storein interfaceOfBizValueWrapper
-
isStored
public boolean isStored() -
setResolutionId
- Specified by:
setResolutionIdin interfaceMutableIssue
-
setArchived
public void setArchived(boolean archived) - Specified by:
setArchivedin interfaceMutableIssue
-
isEditable
public boolean isEditable()- Specified by:
isEditablein interfaceIssue
-
getIssueRenderContext
- Specified by:
getIssueRenderContextin interfaceIssue
-
setAttachments
-
getAttachments
- Specified by:
getAttachmentsin interfaceIssue- Returns:
- A collection of
Attachmentobjects
-
setCustomFieldValue
Description copied from interface:MutableIssueSets a custom field value on this Issue Object, but does not write it to the database. This is highly misleading.
To actually set a custom field value, useOrderableField.updateIssue(com.atlassian.jira.issue.fields.layout.field.FieldLayoutItem, MutableIssue, java.util.Map)- Specified by:
setCustomFieldValuein interfaceMutableIssue- Parameters:
customField- the CustomFieldvalue- the value.
-
setExternalFieldValue
Description copied from interface:MutableIssueThis can be used by a field to "place" a custom object into the MutableIssue so that it can be retrieved by key at a later point via theMutableIssue.getModifiedFields()andIssue.getExternalFieldValue(String).The passed in newValue will be wrapped in the
ModifiedValue.getNewValue()TheModifiedValue.getOldValue()will be null.- Specified by:
setExternalFieldValuein interfaceMutableIssue- Parameters:
fieldId- the field id to use as a keyvalue- the new value to place in aModifiedValue
-
setExternalFieldValue
Description copied from interface:MutableIssueThis can be used bya field to "place" a custom object into the MutableIssue so that it can be retrieved by key at a later point via theMutableIssue.getModifiedFields()andIssue.getExternalFieldValue(String).The passed in newValue will be wrapped in the
ModifiedValue.getNewValue()and the oldValue will be placed inModifiedValue.getOldValue()- Specified by:
setExternalFieldValuein interfaceMutableIssue- Parameters:
fieldId- the field id to use as a keyoldValue- the old value to place in aModifiedValuenewValue- the new value to place in aModifiedValue
-
setStatus
public void setStatus(org.ofbiz.core.entity.GenericValue status) -
setStatus
Description copied from interface:MutableIssueSets the status for this Issue.- Specified by:
setStatusin interfaceMutableIssue- Parameters:
status- the new status value
-
setStatusObject
Description copied from interface:MutableIssueSets the status for this Issue.- Specified by:
setStatusObjectin interfaceMutableIssue- Parameters:
status- the new status value
-
setTimeSpent
- Specified by:
setTimeSpentin interfaceMutableIssue
-
getEstimate
Description copied from interface:IssueThis is the "remaining estimate" of work left to be performed on this issue, in seconds.A better name would be getRemainingEstimate but for historical reasons it is called what it is called.
- Specified by:
getEstimatein interfaceIssue- Returns:
- the "remaining estimate" of work left to be performed on this issue, in seconds.
-
getTimeSpent
Description copied from interface:IssueThis is the "total time spent" working on this issue, in seconds.- Specified by:
getTimeSpentin interfaceIssue- Returns:
- the "total time spent" working on this issue, in seconds.
-
setLabels
Description copied from interface:MutableIssueSet the labels for this issue.- Specified by:
setLabelsin interfaceMutableIssue- Parameters:
labels- the labels for this issue
-
getLabels
Description copied from interface:IssueReturns a set of all the labels for this issue or an empty set if none exist yet. -
isArchived
public boolean isArchived()Description copied from interface:IssueReturns true if issue is archived- Specified by:
isArchivedin interfaceIssue- Returns:
- is issue archived
-
getArchivedByUser
Description copied from interface:IssueReturns the user who archived this issue, or null if it wasn't archived.- Specified by:
getArchivedByUserin interfaceIssue- Returns:
- the user who archived this issue, or null if it wasn't archived.
-
getArchivedById
Description copied from interface:IssueReturns the userid of user who archived this issue, or null if it wasn't archived.- Specified by:
getArchivedByIdin interfaceIssue- Returns:
- the userid of user who archived this issue, or null if it wasn't archived.
-
getArchivedDate
Description copied from interface:IssueReturns the timestamp when this issue was archived, or null if it wasn't archived.- Specified by:
getArchivedDatein interfaceIssue- Returns:
- timestamp when this issue was archived, or null if it wasn't archived.
-
setArchivedDate
-
getExternalFieldValue
- Specified by:
getExternalFieldValuein interfaceIssue
-
getOriginalEstimate
Description copied from interface:IssueThis is the "original estimate" of work to be performed on this issue, in seconds.- Specified by:
getOriginalEstimatein interfaceIssue- Returns:
- the "original estimate" of work to be performed on this issue, in seconds.
-
setEstimate
- Specified by:
setEstimatein interfaceMutableIssue
-
setOriginalEstimate
- Specified by:
setOriginalEstimatein interfaceMutableIssue
-
setSubTaskObjects
-
equals
Description copied from interface:IssueFor interactivity, implementations must be based on the issue key. See the implementation in AbstractIssue for an example. -
toString
-
getComponents().