|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicApi public interface Issue
Main issue interface. Historically, JIRA has just passed around GenericValue
s describing issue records. Issue
is essentially a GenericValue wrapper, with setters, getters and a OfBizValueWrapper.store()
operation for persisting changes
through the underlying GenericValue.
IssueManager.getIssueObject(String)
, or converted
using IssueFactory
.
Method Summary | |
---|---|
Collection<Version> |
getAffectedVersions()
|
com.atlassian.crowd.embedded.api.User |
getAssignee()
Returns the Assignee User. |
String |
getAssigneeId()
|
com.atlassian.crowd.embedded.api.User |
getAssigneeUser()
Returns the Assignee User. |
Collection<Attachment> |
getAttachments()
|
Collection<ProjectComponent> |
getComponentObjects()
|
Collection<org.ofbiz.core.entity.GenericValue> |
getComponents()
|
Timestamp |
getCreated()
|
Object |
getCustomFieldValue(CustomField customField)
|
String |
getDescription()
|
Timestamp |
getDueDate()
|
String |
getEnvironment()
|
Long |
getEstimate()
This is the "remaining estimate" of work left to be performed on this issue, in milliseconds. |
Object |
getExternalFieldValue(String fieldId)
|
Collection<Version> |
getFixVersions()
|
Long |
getId()
|
IssueRenderContext |
getIssueRenderContext()
|
org.ofbiz.core.entity.GenericValue |
getIssueType()
Deprecated. Please use getIssueTypeObject() . Deprecated since v4.0 |
IssueType |
getIssueTypeObject()
Gets the IssueType for this Issue. |
String |
getKey()
|
Set<Label> |
getLabels()
Returns a set of all the labels for this issue or an empty set if none exist yet. |
Long |
getOriginalEstimate()
This is the "original estimate" of work to be performed on this issue, in milliseconds. |
org.ofbiz.core.entity.GenericValue |
getParent()
Deprecated. Use getParentObject() instead. |
Long |
getParentId()
|
Issue |
getParentObject()
If this issue is a subtask, return its parent. |
org.ofbiz.core.entity.GenericValue |
getPriority()
|
Priority |
getPriorityObject()
|
org.ofbiz.core.entity.GenericValue |
getProject()
Deprecated. please use getProjectObject (this still implicitly relies on the GV), but it is a start! |
Project |
getProjectObject()
Gets the Project for this Issue. |
com.atlassian.crowd.embedded.api.User |
getReporter()
Returns the Reporter User. |
String |
getReporterId()
|
com.atlassian.crowd.embedded.api.User |
getReporterUser()
Returns the Reporter User. |
org.ofbiz.core.entity.GenericValue |
getResolution()
|
Timestamp |
getResolutionDate()
Returns the datetime that an issue was resolved on. |
String |
getResolutionId()
|
Resolution |
getResolutionObject()
|
org.ofbiz.core.entity.GenericValue |
getSecurityLevel()
|
Long |
getSecurityLevelId()
|
org.ofbiz.core.entity.GenericValue |
getStatus()
Deprecated. since 4.2. Use getStatusObject() instead. |
Status |
getStatusObject()
|
Collection<Issue> |
getSubTaskObjects()
Gets all the issue's subtasks. |
Collection<org.ofbiz.core.entity.GenericValue> |
getSubTasks()
Deprecated. Use getSubTaskObjects() |
String |
getSummary()
|
Long |
getTimeSpent()
This is the "total time spent" working on this issue, in milliseconds. |
Timestamp |
getUpdated()
|
Long |
getVotes()
|
Long |
getWatches()
|
Long |
getWorkflowId()
|
boolean |
isCreated()
|
boolean |
isEditable()
|
boolean |
isSubTask()
|
Methods inherited from interface com.atlassian.jira.ofbiz.OfBizValueWrapper |
---|
getGenericValue, getLong, getString, getTimestamp, store |
Method Detail |
---|
Long getId()
@Deprecated org.ofbiz.core.entity.GenericValue getProject()
IssueContext
A null return value is used to represent that this context applies to all Projects.
getProject
in interface IssueContext
Project getProjectObject()
getProjectObject
in interface IssueContext
@Deprecated org.ofbiz.core.entity.GenericValue getIssueType()
getIssueTypeObject()
. Deprecated since v4.0
getIssueType
in interface IssueContext
IssueType getIssueTypeObject()
getIssueTypeObject
in interface IssueContext
String getSummary()
com.atlassian.crowd.embedded.api.User getAssigneeUser()
getAssignee()
getAssignee()
@IncompatibleReturnType(since="5.0", was="com.opensymphony.user.User") com.atlassian.crowd.embedded.api.User getAssignee()
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.
String getAssigneeId()
Collection<org.ofbiz.core.entity.GenericValue> getComponents()
Collection<ProjectComponent> getComponentObjects()
com.atlassian.crowd.embedded.api.User getReporterUser()
getReporter()
.
getReporter()
@IncompatibleReturnType(since="5.0", was="com.opensymphony.user.User") com.atlassian.crowd.embedded.api.User getReporter()
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.
String getReporterId()
String getDescription()
String getEnvironment()
Collection<Version> getAffectedVersions()
Version
objects.Collection<Version> getFixVersions()
Version
objects.Timestamp getDueDate()
org.ofbiz.core.entity.GenericValue getSecurityLevel()
Long getSecurityLevelId()
@Nullable org.ofbiz.core.entity.GenericValue getPriority()
@Nullable Priority getPriorityObject()
String getResolutionId()
org.ofbiz.core.entity.GenericValue getResolution()
Resolution getResolutionObject()
String getKey()
Long getVotes()
Long getWatches()
Timestamp getCreated()
Timestamp getUpdated()
Timestamp getResolutionDate()
Long getWorkflowId()
Object getCustomFieldValue(CustomField customField)
customField
- the CustomField
@Deprecated org.ofbiz.core.entity.GenericValue getStatus()
getStatusObject()
instead.
Status getStatusObject()
Long getOriginalEstimate()
Long getEstimate()
Long getTimeSpent()
Object getExternalFieldValue(String fieldId)
boolean isSubTask()
Long getParentId()
boolean isCreated()
Issue getParentObject()
@Deprecated org.ofbiz.core.entity.GenericValue getParent()
getParentObject()
instead.
@Deprecated Collection<org.ofbiz.core.entity.GenericValue> getSubTasks()
getSubTaskObjects()
Collection<Issue> getSubTaskObjects()
MutableIssue
sboolean isEditable()
IssueRenderContext getIssueRenderContext()
Collection<Attachment> getAttachments()
Attachment
objectsSet<Label> getLabels()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |