Standard JIRA fields
This page explains how to access the value of Standard Jira fields using Groovy. You can access them using getters of the Issue interface.
In this page:
Affects Version/s
Field Name: Affects Version/s
Field ID:
versionsDescription: The Affects Version/s field is a collection of version objects. Each object represents a single version.
Accessing the Affects Version/s field: You can access the Affects Version/s field using any of the following getters of the Issue interface:
orget("versions")get("Affects Version/s")that returns aCollection<Version>Example: Name of the first Affects Version/s
issue.get("versions")?.first()?.getName()
getAsString("versions")orgetAsString("Affects Version/s")that returns aStringwith comma separated version names:Example: Join all the Affects Version/s separated by a comma:
issue.getAsString("versions")
getAffectedVersions()that returns aCollection<Version>Example: Join all the Affects Version/s separated by a comma:
issue.getAffectedVersions().join(",")
Assignee
Field name:
AssigneeField ID
:assigneeDescription: The Assignee field is an object that represents the user who this issue is assigned to.
- Accessing the Assignee field: You can access the Assigneefield using any of the following getters of the Issue interface:
that returns an ApplicationUserorget("assignee")get("Assignee")Example: Username of the user the issue is assigned to:
issue.get("assignee")?.getName()
that returns agetAsString("Assignee") or getAsString("assignee")representing the username:StringExample: Username of the user the issue is assigned to:
issue.getAsString("assignee")
getAssigneeUser()that returns an ApplicationUserExample: EmailAddress of the user the issue is assigned to:
issue.getAssigneeUser()?.getEmailAddress()
Attachments
Field name:
AttachmentsField ID:
attachmentDescription: Attachment is a collection of objects. Each object represents a single attachment.
Accessing the Attachments field: You can access the Attachments field using any of the following getters of the Issue interface:
get("attachment") or get("Attachments")that returns aCollection<Attachment>Example: Size of the last attachment added to the issue:
issue.get("attachment")?.last()?.getFilesize()
getAsString("Attachments") or getAsString("attachment")that returns the comma-separated names of the attachments:Example: Names of the attachments
issue.getAsString("attachment")
getAttachments()that returns aCollection<Attachment>Example: Name of the Author of the first attachment:
if(issue.getAttachments() && issue.getAttachments().size() > 0) { issue.getAttachments().first().getAuthorObject()?.getName() }
Comments
Field name:
CommentField ID:
comment- Description: The Comments field is a collection of objects. Each object represents one comment.
- Accessing the Comments field: You can access the Comments field using any of the following getters of the Issue interface:
get("comment") or get("Comments")that returns aList<Comment>Example: Number of comments on the issue:
issue.get("comment").size()Example: Last Comment body:
if(issue.get("comment")) { issue.get("comment").last().getBody() }Example: Name of the author of the first comment on the issue:
if(issue.get("comment")) { issue.get("comment").first().getAuthorFullName() }
getAsString("Comments") or getAsString("comment")that returns aStringwith comma separated bodies of the comments:Example: All the comments on the issue separated by a comma:
issue.getAsString("comment")
Component/s
Field name:
Component/sField ID:
componentsDescription: The Component/s field is a collection of objects. Each object represents one component.
- Accessing the Components field: You can access the Components field using any of the following getters of the Issue interface:
get("components") or get("Component/s")that returns aCollection<ProjectComponent>Example: First component name:
issue.get("components")?.first()?.getName()
getAsString("Component/s") or getAsString("components")that returns aStringwith comma separated component names:Examples: All the components of the issue
issue.getAsString("components")
getComponentObjects()that returns aCollection<ProjectComponent>Example: Last component description:
if(issue.getComponentObjects()) { issue.getComponentObjects().last().getDescription() }
Created
Field name:
CreatedField ID:
createdDescription: The Created field is a Timestamp that represents the date-time of issue creation.
- Accessing the Created field: You can access the Created field using any of the following getters of the Issue interface:
get("created") or get("Created")that returns aTimestampExample: Created date of the issue:
issue.get("created")
getAsString("Created") or getAsString("created")that returns aStringrepresenting the issue creation date/timeExample: Issue creation date
issue.getAsString("created")
getCreated()that returns aTimestamp:Example: Format the created date:
issue.getCreated().format("dd/MM/YYY")
To manipulate the date see here
Creator
Field name:
CreatorField ID:
creatorDescription: The Creator field is an object that represents the user who created this issue.
- Accessing the Creator field: You can access the Creator field using any of the following getters of the Issue interface:
get("creator") or get("Creator")that returns anApplicationUserExample: Username of the Creator of the issue:
issue.get("creator").getName()
getAsString("Creator") or getAsString("creator")that returns the username inString:Example: Username of the Creator of the issue:
issue.getAsString("creator")
getCreator() that returns anApplicationUserExample: Displayname of the creator of the issue:
issue.getCreator().getDisplayName()
Description
Field name:
DescriptionField ID:
descriptionDescription: The Description field is a string representation of a multi-line text describing the issue.
- Accessing the Description field: You can access the Description field using any of the following getters of the Issue interface:
get("description") or get("Description")that returns aStringExample: Description of the issue:
issue.get("description")
getAsString("Description") or getAsString("description")that returns the Description inStringExample: Description of the issue:
issue.getAsString("description")
getDescription()that returns aString:Example: Description of the issue:
issue.getDescription()
Due Date
Field name:
Due DateField ID:
duedateDescription: The Due Date field is Timestamp representing the due date of the issue.
- Accessing the Due date field: You can access the Due date field using any of the following getters of the Issue interface:
get("duedate") or get("Due Date")that returns a Timestamp:Example: Due date of the issue:
issue.get("duedate")
getAsString("duedate") or getAsString("Due Date")that returns a String representing the Due dateExample: Due date of the issue:
issue.getAsString("duedate")
getDueDate()that returns aTimestamp:Example: Duedate plus five days. Note: to find out more about date manipulation in Groovy, see here.
if(issue.getDueDate()) { issue.getDueDate() + 5 }
Environment
Field name:
EnvironmentField ID:
environmentDescription: The Environment field is a string representation of a multi-line text describing the environment of the issue.
- Accessing the Environment field: You can access the Environment field using any of the following getters of the Issue interface:
get("environment") or get("Environment")that returns aString:Example: Environment of the issue
issue.get("Environment")getAsString("Environment") or getAsString("environment")that returns aStringrepresenting the Environment:Example: Environment of the issue
issue.getAsString("Environment")
getEnvironment()that returns aString:Example: Environment of the issue
issue.getEnvironment()
Epic
Field name:
EpicField ID: none
Description: Represents the issue's in the current Epic.
Accessing the Epic of an issue: You can access the Epic of an issue using the
getEpic()that returns anIssueExample: Get the Epic of the current issue
issue.epic
Example: Get the status of the current issue's Epic
issue.epic?.get("status")?.getName()Example: Get the priority of the current issue's Epic
issue.getEpic()?.get("priority")?.getName()
FixVersion/s
Field name: Fix Version/s
- Field ID:
fixVersions Description: The Fix Version/s field is a collection of objects. Each object represents a single version.
- Accessing the Fix Version/s field: You can access the Fix Version/s field using any of the following getters of the Issue interface:
get("fixVersions") or get("Fix Version/s")that returns aCollection<Version>Example: First Fix Version/s name:
issue.get("fixVersions")?.first()?.getName()
getAsString("Fix Version/s") or getAsString("fixversions")that returns aStringwith comma separated Fix Version/s names:Example: Fix Version/s of the issue
issue.getAsString("fixVersions")
getFixVersions()that returns aCollection<Version>
Example: Join the names of the Fix Version/s, separated by commas:
issue.getFixVersions().join(",")
Issue links
Field name:
Issue LinksField ID:
issuelinksDescription: Issue links is a list of objects. Each object represents one issue link.
Accessing the Issue links field: You can access the Issue links field using any of the following getters of the Issue interface:
get("issuelinks") or get("Linked Issues")that returns aList<IssueLink>Example: Get the issue links of the current issue
issue.get("issuelinks")
getInwardIssueLinks()that returns aList<IssueLink>Example: Number of inward linked issues for the current issue
issue.getInwardIssueLinks().size()
getOutwardIssueLinks()that returns aList<IssueLink>Example: Destination issue of the first issue link to the current issue
if(issue.getOutwardIssueLinks()) { issue.getOutwardIssueLinks().first().getDestinationObject() }that returns agetLinkedIssues(String linkName)List<Issue>Example: Get the issues linked to the current issue with the 'blocks' link type
issue.getLinkedIssues('blocks')Example: Get the status of all issues linked to the current issue with the 'is blocked by' link type
Status = [] issue.getLinkedIssues('is blocked by').each{ Status += it.getStatus().getName() } return Status
Issue type
Field name:
Issue TypeField ID:
issuetypeDescription: The Issue Type field is an object describing the issue type.
- Accessing the Issue type field: You can access the Issue type field using any of the following getters of the Issue interface:
get("issuetype") or get("Issue Type")that returns anIssuetypeExample: Name of the issue type:
issue.get("issuetype").getName()
getAsString("Issue Type") or getAsString("issuetype")that returns aStringrepresenting the name of the Issue Type.Example: Name of the issue type:
issue.getAsString("issuetype")
getIssueTypeObject()that returns anIssuetypeExample: Set a text field to
"This issue is a sub-task"if the issue is a sub-task:if(issue.getIssueTypeObject().getName()=="Sub-task") { "This is a sub-task" }
Key
Field name:
KeyField ID:
issuekeyDescription: The Key is a string that represents the key of the issue.
- Accessing the Key of the issue: You can access the Key of the issue using any of the following getters of the Issue interface:
that returns aget("issuekey") or get("Key")StringExample: Access the key of the current issue:
issue.get("issuekey")
that returns agetAsString("Key") or getAsString("issuekey")Stringrepresenting the key of the issue:Example: Access the key of the current issue:
issue.getAsString("issuekey")
getKey()that returns aStringExample: Access the key of the issue's Epic:
issue.getEpic()?.getKey()
Labels
Field name:
LabelsField ID:
labelsDescription: Labels is a Set of labels.
- Accessing the Labels field: You can access the Labels field using any of the following getters of the Issue interface:
get("labels") or get("Labels")that returns aSet<Label>Example: Get the first label of the issue:
if(issue.get("labels")) { issue.get("labels").first() }
getAsString("Labels") or getAsString("labels")that returns aStringwith comma separated label names:Examples: Labels of the issue
issue.getAsString("labels")
getLabels()that returns aSet<Label>Example: Get the last label of the issue
if(issue.getLabels()) { issue.getLabels().last() }Example: All the labels of the issue separated by a comma:
issue.getLabels().join(",")
Last Viewed
Field Name:
Last ViewedField ID: lastViewed
Description: The Last Viewed field is a string representation of a date-timestamp.
- Accessing the Last Viewed field: You can access the Last Viewed field using any of the following getters of the Issue interface:
get("lastViewed") or get("Last Viewed")that returns aTimestampExample: Last Viewed timestamp of the issue:
issue.get("lastViewed")
getAsString("lastViewed") or getAsString("Last Viewed")that returns aStringrepresenting the issue last viewed time.Example: Last Viewed timestamp of the issue:
issue.getAsString("lastViewed")
To manipulate the date see here
Original Estimate
Field name:
Original EstimateField ID:
timeoriginalestimateDescription: The Original Estimate field is a duration string representing the original time estimate.
- Accessing the Original Estimate field: You can access the Original Estimate field using any of the following getters of the Issue interface:
get("timeoriginalestimate") or get("Original Estimate")that returns the original time estimate in seconds inLongformatExample: Original Estimate of the issue in seconds:
issue.get("timeoriginalestimate")
getAsString("Original Estimate") or getAsString("timeoriginalestimate")that returnsStringrepresenting the original time estimate in seconds.Example: Original Estimate of the issue in seconds:
issue.getAsString("timeoriginalestimate")
getOriginalEstimate()that returns the original time estimate in seconds inLongformat.Example: Original Estimate of the issue in hours
issue.getOriginalEstimate()/60/60
Parent
Field name:
ParentField ID: none
Description: Represents the parent of an issue. This applies only to sub-tasks.
Accessing the parent issue of an issue: You can access the parent of an issue using the
that returns angetParentObject()IssueExample: Get the username of the user to whom the current issue's parent is assigned:
issue.parent?.getAssignee()?.getName()
Example: Get the status of the current issue's parent issue
issue.getParentObject()?.get("status")?.getName()
Priority
Field name:
PriorityField ID:
priorityDescription: The Priority field is an object describing the priority of the issue.
- Accessing the Priority field: You can access the Priority field using any of the following getters of the Issue interface:
get("priority") or get("Priority")that returns aPriorityExample: Name of the Priority of the issue:
issue.get("priority").getName()
getAsString("Priority") or getAsString("priority") that returns aStringrepresenting the name of the PriorityExample: Name of the Priority of the issue:
issue.getAsString("priority")
getPriorityObject()that returns aPriorityExample: ID of the Priority of the issue:
issue.getPriority().getId()
Progress
Field name:
ProgressField ID:
progressDescription: The Progress field is a field describing the progress on the issue.
- Accessing the Progress field: You can access the Progress field using any of the following getters of the Issue interface:
get("progress") or get("Progress")that returns the percentage of progress on the issue inLongExample: Percentage of progress on the issue:
issue.get("progress")
getAsString("Progress") or getAsString("progress")that returns aStringrepresenting the percentage of progress on the issueExample: Percentage of progress on the issue:
issue.getAsString("progress")
Project
Field name:
ProjectField ID:
projectDescription: The Project field is an object describing the selected project.
- Accessing the Project field: You can access the Project field using any of the following getters of the Issue interface:
get("project") or get("Project")that returns aProjectExample: Name of the project the issue belongs to:
issue.get("project")?.getName()
getAsString("Project") or getAsString("project")that returns aStringrepresenting the name of the projectExample: Name of the project
issue.getAsString("project")
getProjectObject()that returns aProjectExample: Key of the project the issue belongs to:
issue.getProjectObject().getKey()
Remaining Estimate
Field name:
Remaining EstimateField ID:
timeestimateDescription: The Remaining Estimate field is a number or a duration string representing the remaining time estimate in seconds.
- Accessing the Remaining Estimate field: You can access the Remaining Estimate field using any of the following getters of the Issue interface:
get("timeestimate")orget("Remaining Estimate")that returns the remaining time estimate in seconds inLongformatExample: Remaining Estimate of the issue in seconds:
issue.get("timeestimate")
getAsString("Remaining Estimate") or the getAsString("timeestimate")that returns aStringrepresenting remaining time estimate in seconds.Example: Remaining Estimate of the issue in seconds:
issue.getAsString("timeestimate")
Reporter
Field name:
ReporterField ID:
reporterDescription: The Reporter field is an object that represents the user by whom the issue is reported.
- Accessing the Reporter field: You can access the Reporter field using any of the following getters of the Issue interface:
get("reporter") or get("Reporter")that returns anApplicationUserExample: Username of the reporter of the issue:
issue.get("reporter").getName()
getAsString("Reporter") or getAsString("reporter")that returns the username inString:Example: Username of the reporter of the issue:
issue.getAsString("reporter")
getReporter()that returns anApplicationUserExample: Email address of the reporter:
issue.getReporter().getEmailAddress()
Resolution
Field name:
ResolutionField ID:
reporterDescription: The Resolution field is an object describing the resolution of the issue.
- Accessing the Resolution field: You can access the Resolution field using any of the following getters of the Issue interface:
get("resolution") or get("Resolution")that returns aResolutionExample: Name of the Resolution of the issue:
issue.get("resolution")?.getName()
getAsString("Resolution") or getAsString("resolution")that returns aStringrepresenting the name of the Resolution of the issueExample: Name of the Resolution of the issue:
issue.getAsString("resolution")
getResolutionObject()that returns aResolutionExample: Description of the resolution:
issue.getResolutionObject()?.getDescription()
Resolved
Field name:
ResolvedField ID:
resolutiondateDescription: The Resolved field is a Timestamp representing the resolution date.
- Accessing the Resolved field: You can access the Resolved field using any of the following getters of the Issue interface:
get("resolutiondate") or get("Resolved")that returns aTimestamp:Example: Time stamp of resolution:
issue.get("resolutiondate")
getAsString("resolutiondate") or getAsString("resolutiondate")that returns aStringrepresenting the resolution date:Example: Time stamp of resolution:
issue.getAsString("resolutiondate")
getResolutionDate()that returns aTimestamp:Example:Time stamp of resolution:
issue.getResolutionDate()
To manipulate the date see here
Security Level
Field name:
Security LevelField ID:
securityDescription: The Security level field is an object describing the security level of the issue.
- Accessing the Security level field: You can access the Security level field using any of the following getters of the Issue interface:
get("security") or get("Security Level")that returns the IssueSecurityLevelExample: ID of the security level of the issue:
issue.get("security")
getAsString("Security Level") or getAsString("security")that returns aStringrepresenting the name of the security level:Example: Name of the security level
issue.getAsString("security")
getSecurityLevelId()that returns the security ID inLong:Example: ID of the security level of the issue:
issue.getSecurityLevelId()
Status
Field name:
StatusField ID:
statusDescription: The Status field is an object describing the status of the issue.
- Accessing the Status field: You can access the Status field using any of the following getters of the Issue interface:
get("status") or get("Status")that returns aStatusExample: Name of the status of the issue:
issue.get("status").getName()
getAsString("Status") or getAsString("status")that returns aStringrepresenting the name of the status the issue is in:Example: Name of the status of the issue:
issue.getAsString("status")
getStatusObject()that returns aStatus:Example: Name of the status category of the status:
issue.getStatusObject().getId()
Stories
Field name:
StoriesField ID: none
Description: Represents the issues in the current Epic.
Accessing the issues in an Epic: You can access the issues in an Epic using the
getStories()that returns aList<Issue>Example: Get the issues of an Epic that are in Closed status:
def stories = issue.getStories().findAll{ it.get("status").getName() == "Closed" } return storiesExample: Get the number of issues in the current Epic
issue.getStories().size()
Subtasks
Field name:
Sub-TasksField ID:
subtasksDescription: Represents the subtasks of the current issue.
Accessing the Subtasks field: You can access the Subtasks field using any of the following getters of the Issue interface:
get("subtasks") or get("Sub-Tasks")that returns aList<Issue>Example: First subtask of the parent:
issue.get("subtasks")?.first()
getAsString("Sub-Tasks") or getAsString("subtasks")that returns aStringwith comma separated keys of the subtasks.Example: Subtasks of the issue
issue.getAsString("subtasks")
getSubTaskObjects()that returns aList<Issue>:Example: Last subtask's status:
if(issue.getSubTaskObjects()) { issue.getSubTaskObjects().last().getStatus().getName() }
Summary
Field name:
SummaryField ID:
summaryDescription: The Summary field is a string representation of a single-line text describing the summary of the issue.
- Accessing the Summary field: You can access the Summary field using any of the following getters of the Issue interface:
get("summary") or get("Summary")that returns aString:Example: Summary of the issue:
issue.get("summary")
getAsString("Summary") or getAsString("summary")that returns aString:Example: Summary of the issue:
issue.getAsString("summary")
getSummary()that returns aStringExample: Summary of the issue:
issue.getSummary()
Time Spent
Field name:
Time SpentField ID:
timespentDescription: The Time spent field is a number representing the time spent on the issue in seconds.
- Accessing the Time spent field: You can access the Time spent using any of the following getters of the Issue interface:
get("timespent") or get("Time Spent")that returns the time spent in seconds in aLongformatExample: Time spent on the issue in seconds:
issue.get("timespent")
getAsString("Time Spent") or getAsString("timespent")that returns aStringrepresenting the time spent in seconds.Example: Time spent on the issue in seconds:
issue.getAsString("timespent")
getTimeSpent()that returns the time spent in seconds in aLongformat:Example: Time spent on the issue in seconds:
issue.getTimeSpent()
Updated
Field name:
UpdatedField ID:
updatedDescription: The Updated field is a Timestamp representing the issue updated date-time.
- Accessing the Updated field: You can access the Updated field using any of the following getters of the Issue interface:
get("updated") or get("Updated")that returns aTimestampExample: Updated timestamp of the issue:
issue.get("updated")
getAsString("Updated") or getAsString("updated")that returns aStringrepresenting the issue updated date/time.Example: Updated timestamp of the issue:
issue.getAsString("updated")
getUpdated()that returns aTimestampExample: Updated time stamp of the issue:
issue.getUpdated()
To manipulate the date see here
Votes
Field name:
VotesField ID:
votesDescription: The Votes field is a collection of users who voted for issue.
Accessing the Votes: You can access the Votes field using any of the following getters of the Issue interface:
get("votes") or get("Votes")that returns a Collection<ApplicationUser>Example: Did the reporter vote for the issue?
issue.get("votes")?.find() { it.getName() == issue.get("reporter").getName() } != null
getAsString("votes") or getAsString("votes")that returns aStringwith comma separated voters names:Example: Voters of the issue
issue.getAsString("voters")
getVotes()that returns the number of votes inLongExample: Number of votes on the issue:
issue.getVotes()
Watchers
Field name:
WatchersField ID:
watchesDescription: The Watchers field is a collection of users watching the issue.
- Accessing the Watchers field: You can access the Watchers field using any of the following getters of the Issue interface:
get("watches") or get("Watchers")that returns a Collection<ApplicationUser>Example: Username of the first user watching the issue:
if(issue.get("watches")) { issue.get("watches").first().getName() }
getAsString("Watchers") or getAsString("watches")that returns aStringwith comma separated watchers names:Example: Watchers of the issue
issue.getAsString("watches")
getWatches()that returns the number of watchers inLong:Example: Number of users watching the issue:
issue.getWatches()
Work log
Field name:
Log WorkField ID:
worklogDescription: The Work log field is a list of worklogs logged on the issue.
Accessing the Worklog: You can access the Log Work field using the
that returns aget("worklog") or get("Log Work")List<Worklog>Example: Time spent on the last work logged
if(issue.get("Log Work")) { issue.get("Log Work").last().getTimeSpent() }
Work Ratio
Field name:
Work RatioKey:
workratioDescription: The Work Ratio field is a number representing the ratio of work done on the issue.
- Accessing the Work Ratio field: You can access the Work ratio field using any of the following getters of the Issue interface:
that returns the percentage of work that has been logged against the issue vs the estimate you made for it inget("workratio") or get("Work Ratio")LongExample: Work ratio of the issue
issue.get("workratio")
getAsString("Work Ratio") or getAsString("workratio")that returns aStringrepresenting the work that has been logged against the issue vs the estimate:Example: Work ratio of the issue
issue.getAsString("workratio")
∑ Original Estimate
Field name:
Σ Original EstimateField ID:
aggregatetimeoriginalestimateDescription: The aggregate original estimate field is a number representing the total original estimate of the issue and its sub-tasks if the issue has any.
- Accessing the ∑ Original Estimate field: You can access the ∑ Original Estimate field using any of the following getters of the Issue interface:
that returns aggregate original estimate of seconds inget("aggregatetimeoriginalestimate") or get("∑ Original Estimate")Long:Example: Aggregate original estimate of the issue in seconds:
issue.get("aggregatetimeoriginalestimate")
getAsString("aggregatetimeoriginalestimate") or getAsString("∑ Original Estimate")that returns aStringrepresenting the aggregate original estimate in seconds:Example: Aggregate original estimate of the issue in seconds:
issue.getAsString("aggregatetimeoriginalestimate")
∑ Remaining Estimate
Field name:
Σ Remaining EstimateField ID:
aggregatetimeestimateDescription: The aggregate remaining Estimate field is a number representing the total remaining estimate of the issue and its sub-tasks if the issue has any.
- Accessing the ∑ Remaining Estimate field: You can access the ∑ Remaining Estimate field using any of the following getters of the Issue interface:
that returns aggregate remaining estimate in seconds inget("aggregatetimeestimate") or get("∑ Remaining Estimate")Long:Example: Aggregate remaining estimate of the issue in seconds:
issue.get("aggregatetimeestimate")
getAsString("aggregatetimeestimate") or getAsString("∑ Remaining Estimate") that returns aStringrepresenting the aggregate remaining estimate in seconds:Example: Aggregate remaining estimate of the issue in seconds:
issue.getAsString("aggregatetimeestimate")
∑ Progress
Field name:
Σ ProgressField ID:
aggregateprogressDescription: The Aggregate Progress field is an object describing the aggregate progress on the issue.
- Accessing the ∑ Progress field: You can access the ∑ Progress field using any of the following getters of the Issue interface:
that returns aggregate percentage progress on the issue inget("aggregateprogress") or get("∑ Progress")Longformat:Example: Aggregate Progress on the issue:
issue.get("aggregateprogress")
getAsString("aggregateprogress") or getAsString("∑ Progress")that returns aStringrepresenting the aggregate remaining estimate in seconds:Example: Aggregate progress on the issue:
issue.getAsString("aggregateprogress")
∑ Time Spent
Field name:
Σ Time SpentField ID:
aggregatetimespentDescription: The Aggregate time spent field is a number representing the total time spent on the issue and its sub-tasks if the issue has any.
- Accessing the ∑ Time spent field: You can access the ∑ Time spent field using the
that returns aggregate remaining estimate in seconds in Longget("aggregatetimespent") or get("∑ Time spent"):Example: Aggregate time spent on the issue in seconds:
issue.get("aggregatetimespent")
getAsString("aggregatetimespent") or getAsString("∑ Time spent")that returns aStringrepresenting the aggregate remaining estimate in seconds:Example: Aggregate time spent on the issue in seconds:
issue.getAsString("aggregatetimespent")
Need support? Create a request with our support team.
Copyright © 2005 - 2026 Appfire | All rights reserved.
