java.lang.Object | |
↳ | com.atlassian.jira.mail.TemplateIssue |
Decorator for the Issue Object.
This class will ensure backwards compatibility for templates accessing the issue object. This class also includes helper methods for retrieving rendered fields (e.g. description, environment) and nicely formatted date fields (e.g. Original Time Estimate, Time Spent, etc.). This object is passed to the template through theTemplateContext
for the velocity email templates
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the Assignee User.
| |||||||||||
Returns the Assignee User.
| |||||||||||
Get value for a custom field.
| |||||||||||
Retrieve the description of the issue.
| |||||||||||
Retrieve the environment of the issue.
| |||||||||||
This is the "remaining estimate" of work left to be performed on this issue, in milliseconds.
| |||||||||||
Get the backing GenericValue object.
| |||||||||||
Retrieves the html formatted description.
| |||||||||||
Retrieves the html formatted environment.
| |||||||||||
Gets the IssueType for this Issue.
| |||||||||||
Gets the ID of the IssueType for this Issue.
| |||||||||||
Gets the IssueType for this Issue.
| |||||||||||
Returns a set of all the labels for this issue or an empty set if none exist yet.
| |||||||||||
Retrieve a numeric field.
| |||||||||||
Return a formatted time string of the aggregate original time estimate.
| |||||||||||
Return a formatted time string of the aggregate time estimate.
| |||||||||||
Return a formatted time string of the aggregate time spent.
| |||||||||||
Return a formatted time string of the time estimate.
| |||||||||||
Return a formatted time string of the original time estimate.
| |||||||||||
Return a formatted time string of the time spent.
| |||||||||||
This is the "original estimate" of work to be performed on this issue, in milliseconds.
| |||||||||||
If this issue is a subtask, return its parent.
| |||||||||||
Returns the Priority for this Issue.
| |||||||||||
Returns the Priority for this Issue.
| |||||||||||
Gets the Project for this IssueContext.
| |||||||||||
Gets the ID of the Project for this Issue.
| |||||||||||
Gets the Project for this Issue.
| |||||||||||
Returns the Reporter User.
| |||||||||||
Return the reporter - an object will be returned even if the user has been deleted from the system.
| |||||||||||
Returns the Resolution for this Issue.
| |||||||||||
Returns the datetime that an issue was resolved on.
| |||||||||||
Returns the Resolution for this Issue.
| |||||||||||
Returns the Security Level for this Issue.
| |||||||||||
Returns the Security Level for this Issue.
| |||||||||||
Retrieve a String field.
| |||||||||||
Gets all the issue's subtasks.
| |||||||||||
This is the "total time spent" working on this issue, in milliseconds.
| |||||||||||
Retrieve a timestamp field.
| |||||||||||
Are any of the aggregates different?
| |||||||||||
Persist this object's immediate fields.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Returns the Assignee User.
Warning: previous incarnations of this method returnedcom.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.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 forgetAssignee()
Get value for a custom field.
id | Custom field key (eg. 'customfield_10010'). |
---|
Retrieve the description of the issue.
Retrieve the environment of the issue. Depending on the format specified - attempt to return the rendered description or the simple text
This is the "remaining estimate" of work left to be performed on this issue, in milliseconds.
A better name would be getRemainingEstimate but for historical reasons it is called what it is called.Get the backing GenericValue object.
Retrieves the html formatted description.
A simple string (with linked bug keys displayed) is returned if a rendered version cannot be generated.Retrieves the html formatted environment.
A simple string (with linked bug keys displayed) is returned if a rendered version cannot be generated.Gets the IssueType for this Issue.
Gets the ID of the IssueType for this Issue.
Gets the IssueType for this Issue.
Returns a set of all the labels for this issue or an empty set if none exist yet.
Retrieve a numeric field.
name | the field name |
---|
Return a formatted time string of the aggregate original time estimate.
i18n | helper bean for internationalization |
---|
Return a formatted time string of the aggregate time estimate.
i18n | helper bean for internationalization |
---|
Return a formatted time string of the aggregate time spent.
i18n | helper bean for internationalization |
---|
Return a formatted time string of the time estimate.
i18n | helper bean for internationalization |
---|
Return a formatted time string of the original time estimate.
i18n | helper bean for internationalization |
---|
Return a formatted time string of the time spent.
i18n | helper bean for internationalization |
---|
This is the "original estimate" of work to be performed on this issue, in milliseconds.
If this issue is a subtask, return its parent.
Returns the Priority for this Issue.
Returns the Priority for this Issue.
Gets the Project for this IssueContext.
A null return value is used to represent that this context applies to all Projects.
Gets the ID of the Project for this Issue.
Gets the Project for this Issue.
Returns the Reporter User.
Warning: previous incarnations of this method returnedcom.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.Return the reporter - an object will be returned even if the user has been deleted from the system.
Returns the Resolution for this 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.
Returns the Resolution for this Issue.
Returns the Security Level for this Issue.
Returns the Security Level for this Issue.
Retrieve a String field.
name | the field name |
---|
Gets all the issue's subtasks.
MutableIssue
s
This is the "total time spent" working on this issue, in milliseconds.
Retrieve a timestamp field.
name | the field name |
---|
Are any of the aggregates different?
Persist this object's immediate fields.