Class IssueImpl

java.lang.Object
com.atlassian.jira.issue.AbstractIssue
com.atlassian.jira.issue.IssueImpl
All Implemented Interfaces:
WithId, WithKey, IssueContext, Issue, MutableIssue, OfBizValueWrapper, Serializable

public class IssueImpl extends AbstractIssue implements MutableIssue
Issue implementation which caches read data, and can persist its data to the database (via an Ofbiz GenericValue.
Since:
3.2
See Also:
  • Constructor Details

    • IssueImpl

      public IssueImpl(org.ofbiz.core.entity.GenericValue genericValue, IssueManager issueManager, ProjectManager projectManager, VersionManager versionManager, IssueSecurityLevelManager issueSecurityLevelManager, ConstantsManager constantsManager, SubTaskManager subTaskManager, AttachmentManager attachmentManager, LabelManager labelManager, ProjectComponentManager projectComponentManager, UserManager userManager, JiraAuthenticationContext jiraAuthenticationContext, IssueArchiveHelper issueArchiveHelper)
      Load an issue backed by the database.
      Parameters:
      genericValue - generic value of the issue
      issueManager - issue manager
      projectManager - project manager
      versionManager - version manager
      issueSecurityLevelManager - issue security level manager
      constantsManager - constant manager
      subTaskManager - sub-task manager
      attachmentManager - attachment manager
      labelManager - label manager
      projectComponentManager - project component manager
      userManager - user manager
      jiraAuthenticationContext - jira authentication context
      issueArchiveHelper - issue archive helper
    • IssueImpl

      public IssueImpl(@Nonnull Issue issue, IssueManager issueManager, ProjectManager projectManager, VersionManager versionManager, IssueSecurityLevelManager issueSecurityLevelManager, ConstantsManager constantsManager, SubTaskManager subTaskManager, AttachmentManager attachmentManager, LabelManager labelManager, ProjectComponentManager projectComponentManager, UserManager userManager, JiraAuthenticationContext jiraAuthenticationContext, IssueArchiveHelper issueArchiveHelper)
      Create an issue, cloning another issue's data.
      Parameters:
      issue - issue
      issueManager - issue manager
      projectManager - project manager
      versionManager - version manager
      issueSecurityLevelManager - issue security level manager
      constantsManager - constant manager
      subTaskManager - sub-task manager
      attachmentManager - attachment manager
      labelManager - label manager
      projectComponentManager - project component manager
      userManager - user manager
      jiraAuthenticationContext - jira authentication context
      issueArchiveHelper - issue archive helper
  • Method Details

    • getIssueObject

      public static MutableIssue getIssueObject(org.ofbiz.core.entity.GenericValue genericValue)
      Deprecated.
      You should construct this yourself if at all possible, or use IssueFactory.getIssue(org.ofbiz.core.entity.GenericValue) instead.
      This is a static way of instantiating an Issue Object.
      Parameters:
      genericValue - generic value of the issue
      Returns:
      new instance of MutableIssue
    • getId

      public Long getId()
      Specified by:
      getId in interface Issue
      Specified by:
      getId in interface WithId
      Returns:
      the unique id of the entity.
    • getProject

      public org.ofbiz.core.entity.GenericValue getProject()
      Specified by:
      getProject in interface Issue
    • getProjectObject

      public Project getProjectObject()
      Description copied from interface: Issue
      Gets the Project for this Issue.
      Specified by:
      getProjectObject in interface Issue
      Specified by:
      getProjectObject in interface IssueContext
      Returns:
      The Project for this Issue.
    • getProjectId

      public Long getProjectId()
      Description copied from interface: Issue
      Gets the ID of the Project for this Issue.
      Specified by:
      getProjectId in interface Issue
      Specified by:
      getProjectId in interface IssueContext
      Returns:
      The ID of the Project for this Issue.
    • setProjectId

      public void setProjectId(Long projectId)
      Description copied from interface: MutableIssue
      Sets the project by id.
      Specified by:
      setProjectId in interface MutableIssue
      Parameters:
      projectId - The id of the project
    • setProject

      public void setProject(org.ofbiz.core.entity.GenericValue project)
      Description copied from interface: MutableIssue
      Sets the Project for this Issue.
      Specified by:
      setProject in interface MutableIssue
      Parameters:
      project - the new Project
    • setProjectObject

      public void setProjectObject(Project project)
      Description copied from interface: MutableIssue
      Sets the Project for this Issue.
      Specified by:
      setProjectObject in interface MutableIssue
      Parameters:
      project - the new Project
    • getIssueType

      public IssueType getIssueType()
      Description copied from interface: Issue
      Gets the IssueType for this Issue.
      Specified by:
      getIssueType in interface Issue
      Specified by:
      getIssueType in interface IssueContext
      Returns:
      The IssueType for this Issue.
    • getIssueTypeId

      public String getIssueTypeId()
      Description copied from interface: Issue
      Gets the ID of the IssueType for this Issue.
      Specified by:
      getIssueTypeId in interface Issue
      Specified by:
      getIssueTypeId in interface IssueContext
      Returns:
      The ID of the IssueType for this Issue.
    • setIssueType

      public void setIssueType(IssueType issueType)
      Specified by:
      setIssueType in interface MutableIssue
    • setIssueTypeObject

      public void setIssueTypeObject(IssueType issueType)
      Description copied from interface: MutableIssue
      Sets the IssueType for this Issue.
      Specified by:
      setIssueTypeObject in interface MutableIssue
      Parameters:
      issueType - the new IssueType
    • setIssueTypeId

      public void setIssueTypeId(String issueTypeId)
      Set the issue type, by type id.
      Specified by:
      setIssueTypeId in interface MutableIssue
    • getSummary

      public String getSummary()
      Specified by:
      getSummary in interface Issue
    • setSummary

      public void setSummary(String summary)
      Specified by:
      setSummary in interface MutableIssue
    • isArchived

      public boolean isArchived()
      Description copied from interface: Issue
      Returns true if issue is archived
      Specified by:
      isArchived in interface Issue
      Returns:
      is issue archived
    • setArchived

      public void setArchived(boolean archived)
      Specified by:
      setArchived in interface MutableIssue
    • getArchivedById

      public String getArchivedById()
      Description copied from interface: Issue
      Returns the userid of user who archived this issue, or null if it wasn't archived.
      Specified by:
      getArchivedById in interface Issue
      Returns:
      the userid of user who archived this issue, or null if it wasn't archived.
    • getArchivedByUser

      public ApplicationUser getArchivedByUser()
      Description copied from interface: Issue
      Returns the user who archived this issue, or null if it wasn't archived.
      Specified by:
      getArchivedByUser in interface Issue
      Returns:
      the user who archived this issue, or null if it wasn't archived.
    • getArchivedDate

      public Timestamp getArchivedDate()
      Description copied from interface: Issue
      Returns the timestamp when this issue was archived, or null if it wasn't archived.
      Specified by:
      getArchivedDate in interface Issue
      Returns:
      timestamp when this issue was archived, or null if it wasn't archived.
    • getReporterUser

      public ApplicationUser getReporterUser()
      Description copied from interface: Issue
      Returns 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:
      getReporterUser in interface Issue
      Returns:
      the Reporter User.
      See Also:
    • getReporter

      public ApplicationUser getReporter()
      Description copied from interface: Issue
      Returns 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:
      getReporter in interface Issue
      Returns:
      the Reporter User.
    • getReporterId

      public String getReporterId()
      Specified by:
      getReporterId in interface Issue
      Returns:
      a user key of the reporter
    • getCreator

      public ApplicationUser getCreator()
      Specified by:
      getCreator in interface Issue
    • getCreatorId

      public String getCreatorId()
      Specified by:
      getCreatorId in interface Issue
      Returns:
      a user key of the creator
    • setReporter

      public void setReporter(ApplicationUser reporter)
      Specified by:
      setReporter in interface MutableIssue
    • setReporterId

      public void setReporterId(String reporterId)
      Description copied from interface: MutableIssue
      Sets the reporter in this issue. Note that this should be the userkey, not the username.
      Specified by:
      setReporterId in interface MutableIssue
      Parameters:
      reporterId - userkey of the desired reporter.
      See Also:
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface Issue
    • setDescription

      public void setDescription(String description)
      Specified by:
      setDescription in interface MutableIssue
    • getEnvironment

      public String getEnvironment()
      Specified by:
      getEnvironment in interface Issue
    • setEnvironment

      public void setEnvironment(String environment)
      Specified by:
      setEnvironment in interface MutableIssue
    • getAssigneeUser

      public ApplicationUser getAssigneeUser()
      Description copied from interface: Issue
      Returns 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:
      getAssigneeUser in interface Issue
      Returns:
      the Assignee User.
      See Also:
    • getAssignee

      public ApplicationUser getAssignee()
      Description copied from interface: Issue
      Returns 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:
      getAssignee in interface Issue
      Returns:
      the Assignee User.
    • getAssigneeId

      public String getAssigneeId()
      Specified by:
      getAssigneeId in interface Issue
      Returns:
      a user key of the assignee
    • setAssignee

      public void setAssignee(ApplicationUser assignee)
      Specified by:
      setAssignee in interface MutableIssue
    • setAssigneeId

      public void setAssigneeId(String assigneeKey)
      Description copied from interface: MutableIssue
      Sets the user that this issue is assigned to. Note that this should be the userkey, not the username.
      Specified by:
      setAssigneeId in interface MutableIssue
      Parameters:
      assigneeKey - The user key.
    • getComponentObjects

      public Collection<ProjectComponent> getComponentObjects()
      Specified by:
      getComponentObjects in interface Issue
      Returns:
      collection of project components (as objects) that this issue is assigned to
    • getComponents

      public Collection<ProjectComponent> getComponents()
      Specified by:
      getComponents in interface Issue
      Returns:
      collection of project components (as objects) that this issue is assigned to
    • setComponent

      public void setComponent(Collection<ProjectComponent> components)
      Description copied from interface: MutableIssue
      Sets the components for this Issue.
      Specified by:
      setComponent in interface MutableIssue
      Parameters:
      components - the new components value
    • getFixVersions

      public Collection<Version> getFixVersions()
      Specified by:
      getFixVersions in interface Issue
      Returns:
      a collection of fix-for Version objects.
    • setFixVersions

      public void setFixVersions(Collection<Version> fixVersions)
      Specified by:
      setFixVersions in interface MutableIssue
      Parameters:
      fixVersions - A collection of fix-for Version objects.
    • getDueDate

      public Timestamp getDueDate()
      Specified by:
      getDueDate in interface Issue
    • setDueDate

      public void setDueDate(Timestamp dueDate)
      Specified by:
      setDueDate in interface MutableIssue
    • getSecurityLevel

      public org.ofbiz.core.entity.GenericValue getSecurityLevel()
      Description copied from interface: Issue
      Returns the Security Level for this Issue.
      Specified by:
      getSecurityLevel in interface Issue
      Returns:
      the Security Level for this Issue.
    • getSecurityLevelId

      public Long getSecurityLevelId()
      Description copied from interface: Issue
      Returns the Security Level for this Issue.
      Specified by:
      getSecurityLevelId in interface Issue
      Returns:
      the Security Level for this Issue.
    • setSecurityLevelId

      public void setSecurityLevelId(Long securityLevelId)
      Description copied from interface: MutableIssue
      Sets the SecurityLevel for this Issue.
      Specified by:
      setSecurityLevelId in interface MutableIssue
      Parameters:
      securityLevelId - the new SecurityLevel value
    • setSecurityLevel

      public void setSecurityLevel(org.ofbiz.core.entity.GenericValue securityLevel)
      Description copied from interface: MutableIssue
      Sets the SecurityLevel for this Issue.
      Specified by:
      setSecurityLevel in interface MutableIssue
      Parameters:
      securityLevel - the new SecurityLevel value
    • getPriority

      public Priority getPriority()
      Description copied from interface: Issue
      Returns the Priority for this Issue.
      Specified by:
      getPriority in interface Issue
      Returns:
      the Priority for this Issue.
    • setPriority

      public void setPriority(org.ofbiz.core.entity.GenericValue priority)
    • setPriority

      public void setPriority(Priority priority)
      Description copied from interface: MutableIssue
      Sets the priority for this Issue.
      Specified by:
      setPriority in interface MutableIssue
      Parameters:
      priority - the new priority value
    • setPriorityObject

      public void setPriorityObject(Priority priority)
      Description copied from interface: MutableIssue
      Sets the priority for this Issue.
      Specified by:
      setPriorityObject in interface MutableIssue
      Parameters:
      priority - the new priority value
    • setPriorityId

      public void setPriorityId(String priorityId)
      Description copied from interface: MutableIssue
      Sets the priority for this Issue.
      Specified by:
      setPriorityId in interface MutableIssue
      Parameters:
      priorityId - the new priority value
    • getResolutionId

      public String getResolutionId()
      Specified by:
      getResolutionId in interface Issue
    • getResolution

      public Resolution getResolution()
      Description copied from interface: Issue
      Returns the Resolution for this Issue.
      Specified by:
      getResolution in interface Issue
      Returns:
      the Resolution for this Issue.
    • setResolutionId

      public void setResolutionId(String resolutionId)
      Specified by:
      setResolutionId in interface MutableIssue
    • setResolution

      public void setResolution(Resolution resolution)
      Description copied from interface: MutableIssue
      Sets the resolution for this Issue.
      Specified by:
      setResolution in interface MutableIssue
    • setResolutionObject

      public void setResolutionObject(Resolution resolution)
      Description copied from interface: MutableIssue
      Sets the resolution for this Issue.
      Specified by:
      setResolutionObject in interface MutableIssue
      Parameters:
      resolution - the new resolution value
    • getKey

      public String getKey()
      Specified by:
      getKey in interface Issue
      Specified by:
      getKey in interface WithKey
      Returns:
      the entity key.
    • getNumber

      public Long getNumber()
      Specified by:
      getNumber in interface Issue
    • setKey

      public void setKey(String key)
      Specified by:
      setKey in interface MutableIssue
    • setNumber

      public void setNumber(Long number)
      Specified by:
      setNumber in interface MutableIssue
    • getVotes

      public Long getVotes()
      Specified by:
      getVotes in interface Issue
    • setVotes

      public void setVotes(Long votes)
      Specified by:
      setVotes in interface MutableIssue
    • getWatches

      public Long getWatches()
      Specified by:
      getWatches in interface Issue
    • setWatches

      public void setWatches(Long watches)
      Specified by:
      setWatches in interface MutableIssue
    • getAffectedVersions

      public Collection<Version> getAffectedVersions()
      Specified by:
      getAffectedVersions in interface Issue
      Returns:
      a collection of 'affects' Version objects.
    • setAffectedVersions

      public void setAffectedVersions(Collection<Version> affectedVersions)
      Specified by:
      setAffectedVersions in interface MutableIssue
      Parameters:
      affectedVersions - A collection of 'affects' Version objects.
    • getString

      public String getString(String name)
      Description copied from interface: OfBizValueWrapper
      Retrieve a String field.
      Specified by:
      getString in interface OfBizValueWrapper
      Parameters:
      name - the field name
      Returns:
      the value for the given field.
    • getTimestamp

      public Timestamp getTimestamp(String name)
      Description copied from interface: OfBizValueWrapper
      Retrieve a timestamp field.
      Specified by:
      getTimestamp in interface OfBizValueWrapper
      Parameters:
      name - the field name
      Returns:
      the value for the given field.
    • getLong

      public Long getLong(String name)
      Description copied from interface: OfBizValueWrapper
      Retrieve a numeric field.
      Specified by:
      getLong in interface OfBizValueWrapper
      Parameters:
      name - the field name
      Returns:
      the value for the given field.
    • getGenericValue

      public org.ofbiz.core.entity.GenericValue getGenericValue()
      Description copied from interface: Issue
      Get the backing GenericValue object.
      Specified by:
      getGenericValue in interface Issue
      Specified by:
      getGenericValue in interface OfBizValueWrapper
      Returns:
      the backing GenericValue object.
    • getCreated

      public Timestamp getCreated()
      Specified by:
      getCreated in interface Issue
    • setCreated

      public void setCreated(Timestamp created)
      Specified by:
      setCreated in interface MutableIssue
    • getUpdated

      public Timestamp getUpdated()
      Specified by:
      getUpdated in interface Issue
    • setUpdated

      public void setUpdated(Timestamp updated)
      Specified by:
      setUpdated in interface MutableIssue
    • getResolutionDate

      public Timestamp getResolutionDate()
      Description copied from interface: Issue
      Returns 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:
      getResolutionDate in interface Issue
      Returns:
      Timestamp of when an issue was resolved, or null
    • setResolutionDate

      public void setResolutionDate(Timestamp resolutionDate)
      Specified by:
      setResolutionDate in interface MutableIssue
    • getWorkflowId

      public Long getWorkflowId()
      Specified by:
      getWorkflowId in interface Issue
    • setWorkflowId

      public void setWorkflowId(Long workflowId)
      Specified by:
      setWorkflowId in interface MutableIssue
    • getCustomFieldValue

      public Object getCustomFieldValue(CustomField customField)
      Specified by:
      getCustomFieldValue in interface Issue
      Parameters:
      customField - the CustomField
      Returns:
      A custom field's value. Will be a List, User, Timestamp etc, depending on custom field type.
    • setCustomFieldValue

      public void setCustomFieldValue(CustomField customField, Object value)
      Description copied from interface: MutableIssue
      Sets 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, use OrderableField.updateIssue(com.atlassian.jira.issue.fields.layout.field.FieldLayoutItem, MutableIssue, java.util.Map)
      Specified by:
      setCustomFieldValue in interface MutableIssue
      Parameters:
      customField - the CustomField
      value - the value.
    • getExternalFieldValue

      public Object getExternalFieldValue(String fieldId)
      Specified by:
      getExternalFieldValue in interface Issue
    • setExternalFieldValue

      public void setExternalFieldValue(String fieldId, Object newValue)
      Description copied from interface: MutableIssue
      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 the MutableIssue.getModifiedFields() and Issue.getExternalFieldValue(String).

      The passed in newValue will be wrapped in the ModifiedValue.getNewValue() The ModifiedValue.getOldValue() will be null.

      Specified by:
      setExternalFieldValue in interface MutableIssue
      Parameters:
      fieldId - the field id to use as a key
      newValue - the new value to place in a ModifiedValue
    • setExternalFieldValue

      public void setExternalFieldValue(String fieldId, Object oldValue, Object newValue)
      Description copied from interface: MutableIssue
      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 the MutableIssue.getModifiedFields() and Issue.getExternalFieldValue(String).

      The passed in newValue will be wrapped in the ModifiedValue.getNewValue() and the oldValue will be placed in ModifiedValue.getOldValue()

      Specified by:
      setExternalFieldValue in interface MutableIssue
      Parameters:
      fieldId - the field id to use as a key
      oldValue - the old value to place in a ModifiedValue
      newValue - the new value to place in a ModifiedValue
    • isSubTask

      public boolean isSubTask()
      Specified by:
      isSubTask in interface Issue
    • getParentId

      public Long getParentId()
      Specified by:
      getParentId in interface Issue
    • setParentId

      public void setParentId(Long parentId)
      Description copied from interface: MutableIssue
      Sets the ParentId of this Issue.
      Specified by:
      setParentId in interface MutableIssue
      Parameters:
      parentId - The new parentId.
      See Also:
    • setParentObject

      public void setParentObject(Issue parentIssue) throws IllegalArgumentException
      Description copied from interface: MutableIssue
      Sets 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:
      setParentObject in interface MutableIssue
      Parameters:
      parentIssue - the required parent Issue for this subtask.
      Throws:
      IllegalArgumentException
      See Also:
    • getParentObject

      public Issue getParentObject()
      Description copied from interface: Issue
      If this issue is a subtask, return its parent.
      Specified by:
      getParentObject in interface Issue
      Overrides:
      getParentObject in class AbstractIssue
      Returns:
      The parent Issue, or null if the issue is not a subtask.
    • getParent

      public org.ofbiz.core.entity.GenericValue getParent()
      Deprecated.
      Use getParentObject() instead.
      Specified by:
      getParent in interface Issue
      Overrides:
      getParent in class AbstractIssue
    • getSubTasks

      public Collection<org.ofbiz.core.entity.GenericValue> getSubTasks()
      Specified by:
      getSubTasks in interface Issue
    • getSubTaskObjects

      public Collection<Issue> getSubTaskObjects()
      Description copied from interface: Issue
      Gets all the issue's subtasks.
      Specified by:
      getSubTaskObjects in interface Issue
      Returns:
      A collection of MutableIssues
    • isCreated

      public boolean isCreated()
      Specified by:
      isCreated in interface Issue
    • getStatus

      public Status getStatus()
      Specified by:
      getStatus in interface Issue
    • getStatusId

      public String getStatusId()
      Specified by:
      getStatusId in interface Issue
    • setStatusId

      public void setStatusId(String statusId)
      Description copied from interface: MutableIssue
      Set issue's status by status id ("1", "2" etc).
      Specified by:
      setStatusId in interface MutableIssue
      Parameters:
      statusId - the new StatusId.
    • setLabels

      public void setLabels(Set<Label> labels)
      Description copied from interface: MutableIssue
      Set the labels for this issue.
      Specified by:
      setLabels in interface MutableIssue
      Parameters:
      labels - the labels for this issue
    • getLabels

      public Set<Label> getLabels()
      Description copied from interface: Issue
      Returns a set of all the labels for this issue or an empty set if none exist yet.
      Specified by:
      getLabels in interface Issue
      Returns:
      a set of all the labels for this issue or an empty set if none exist yet
    • setStatus

      public void setStatus(Status status)
      Description copied from interface: MutableIssue
      Sets the status for this Issue.
      Specified by:
      setStatus in interface MutableIssue
      Parameters:
      status - the new status value
    • setStatusObject

      public void setStatusObject(Status status)
      Description copied from interface: MutableIssue
      Sets the status for this Issue.
      Specified by:
      setStatusObject in interface MutableIssue
      Parameters:
      status - the new status value
    • getOriginalEstimate

      public Long getOriginalEstimate()
      Description copied from interface: Issue
      This is the "original estimate" of work to be performed on this issue, in seconds.
      Specified by:
      getOriginalEstimate in interface Issue
      Returns:
      the "original estimate" of work to be performed on this issue, in seconds.
    • setOriginalEstimate

      public void setOriginalEstimate(Long originalEstimate)
      Specified by:
      setOriginalEstimate in interface MutableIssue
    • getEstimate

      public Long getEstimate()
      Description copied from interface: Issue
      This 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:
      getEstimate in interface Issue
      Returns:
      the "remaining estimate" of work left to be performed on this issue, in seconds.
    • setEstimate

      public void setEstimate(Long estimate)
      Specified by:
      setEstimate in interface MutableIssue
    • getTimeSpent

      public Long getTimeSpent()
      Description copied from interface: Issue
      This is the "total time spent" working on this issue, in seconds.
      Specified by:
      getTimeSpent in interface Issue
      Returns:
      the "total time spent" working on this issue, in seconds.
    • setTimeSpent

      public void setTimeSpent(Long timespent)
      Specified by:
      setTimeSpent in interface MutableIssue
    • getIssueRenderContext

      public IssueRenderContext getIssueRenderContext()
      Specified by:
      getIssueRenderContext in interface Issue
    • store

      public void store()
      Description copied from interface: MutableIssue
      Persist this issue's immediate fields. This is for internal usage only.
      Specified by:
      store in interface MutableIssue
      Specified by:
      store in interface OfBizValueWrapper
    • getModifiedFields

      public Map<String,ModifiedValue> getModifiedFields()
      Description copied from interface: MutableIssue
      Retrieve a map of issue fields whose values have been set (since object creation or last MutableIssue.resetModifiedFields() call.
      Specified by:
      getModifiedFields in interface MutableIssue
      Returns:
      A Map of key -> ModifiedValue pairs, where keys are defined in IssueFieldConstants and the value objects in the ModifiedValue are field-specific.
    • resetModifiedFields

      public void resetModifiedFields()
      Description copied from interface: MutableIssue
      Reset the internal list of modified fields.
      Specified by:
      resetModifiedFields in interface MutableIssue
      See Also:
    • toString

      public String toString()
      Overrides:
      toString in class Object