Our new Appfire Documentation Space is now live!
Take a look here! If you have any questions please email support@appfire.com
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:
versions
Description: 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 aString
with 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:
Assignee
Field ID
:
assignee
Description: 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 ApplicationUser
orget("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:String
Example: 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:
Attachments
Field ID:
attachment
Description: 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:
Comment
Field 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 aString
with 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/s
Field ID:
components
Description: 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 aString
with 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:
Created
Field ID:
created
Description: 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 aTimestamp
Example: Created date of the issue:
issue.get("created")
getAsString("Created") or getAsString("created")
that returns aString
representing 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:
Creator
Field ID:
creator
Description: 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 anApplicationUser
Example: 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 an
ApplicationUser
Example: Displayname of the creator of the issue:
issue.getCreator().getDisplayName()
Description
Field name:
Description
Field ID:
description
Description: 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 aString
Example: Description of the issue:
issue.get("description")
getAsString("Description") or getAsString("description")
that returns the Description inString
Example: Description of the issue:
issue.getAsString("description")
getDescription()
that returns aString:
Example: Description of the issue:
issue.getDescription()
Due Date
Field name:
Due Date
Field ID:
duedate
Description: 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:
Environment
Field ID:
environment
Description: 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 aString
representing the Environment:Example: Environment of the issue
issue.getAsString("Environment")
getEnvironment()
that returns aString
:Example: Environment of the issue
issue.getEnvironment()
Epic
Field name:
Epic
Field 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 anIssue
Example: 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 aString
with 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 Links
Field ID:
issuelinks
Description: 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 Type
Field ID:
issuetype
Description: 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 anIssuetype
Example: Name of the issue type:
issue.get("issuetype").getName()
getAsString("Issue Type") or getAsString("issuetype")
that returns aString
representing the name of the Issue Type.Example: Name of the issue type:
issue.getAsString("issuetype")
getIssueTypeObject()
that returns anIssuetype
Example: 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:
Key
Field ID:
issuekey
Description: 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")
String
Example: Access the key of the current issue:
issue.get("issuekey")
that returns agetAsString("Key") or getAsString("issuekey")
String
representing the key of the issue:Example: Access the key of the current issue:
issue.getAsString("issuekey")
getKey()
that returns aString
Example: Access the key of the issue's Epic:
issue.getEpic()?.getKey()
Labels
Field name:
Labels
Field ID:
labels
Description: 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 aString
with 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 Viewed
Field 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 aTimestamp
Example: Last Viewed timestamp of the issue:
issue.get("lastViewed")
getAsString("lastViewed") or getAsString("Last Viewed")
that returns aString
representing 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 Estimate
Field ID:
timeoriginalestimate
Description: 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")
Long
formatExample: Original Estimate of the issue in seconds:
issue.get("timeoriginalestimate")
getAsString("Original Estimate") or getAsString("timeoriginalestimate")
that returnsString
representing 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 inLong
format.Example: Original Estimate of the issue in hours
issue.getOriginalEstimate()/60/60
Parent
Field name:
Parent
Field 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()
Issue
Example: 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:
Priority
Field ID:
priority
Description: 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 aPriority
Example: Name of the Priority of the issue:
issue.get("priority").getName()
getAsString("Priority") or getAsString("priority"
) that returns aString
representing the name of the PriorityExample: Name of the Priority of the issue:
issue.getAsString("priority")
getPriorityObject()
that returns aPriority
Example: ID of the Priority of the issue:
issue.getPriority().getId()
Progress
Field name:
Progress
Field ID:
progress
Description: 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 inLong
Example: Percentage of progress on the issue:
issue.get("progress")
getAsString("Progress") or getAsString("progress")
that returns aString
representing the percentage of progress on the issueExample: Percentage of progress on the issue:
issue.getAsString("progress")
Project
Field name:
Project
Field ID:
project
Description: 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 aProject
Example: Name of the project the issue belongs to:
issue.get("project")?.getName()
getAsString("Project") or getAsString("project")
that returns aString
representing the name of the projectExample: Name of the project
issue.getAsString("project")
getProjectObject()
that returns aProject
Example: Key of the project the issue belongs to:
issue.getProjectObject().getKey()
Remaining Estimate
Field name:
Remaining Estimate
Field ID:
timeestimate
Description: 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 inLong
formatExample: Remaining Estimate of the issue in seconds:
issue.get("timeestimate")
getAsString("Remaining Estimate") or the getAsString("timeestimate")
that returns aString
representing remaining time estimate in seconds.Example: Remaining Estimate of the issue in seconds:
issue.getAsString("timeestimate")
Reporter
Field name:
Reporter
Field ID:
reporter
Description: 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 anApplicationUser
Example: 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 anApplicationUser
Example: Email address of the reporter:
issue.getReporter().getEmailAddress()
Resolution
Field name:
Resolution
Field ID:
reporter
Description: 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 aResolution
Example: Name of the Resolution of the issue:
issue.get("resolution")?.getName()
getAsString("Resolution") or getAsString("resolution")
that returns aString
representing the name of the Resolution of the issueExample: Name of the Resolution of the issue:
issue.getAsString("resolution")
getResolutionObject()
that returns aResolution
Example: Description of the resolution:
issue.getResolutionObject()?.getDescription()
Resolved
Field name:
Resolved
Field ID:
resolutiondate
Description: 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 aString
representing 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 Level
Field ID:
security
Description: 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 aString
representing 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:
Status
Field ID:
status
Description: 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 aStatus
Example: Name of the status of the issue:
issue.get("status").getName()
getAsString("Status") or getAsString("status")
that returns aString
representing 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:
Stories
Field 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 stories
Example: Get the number of issues in the current Epic
issue.getStories().size()
Subtasks
Field name:
Sub-Tasks
Field ID:
subtasks
Description: 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 aString
with 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:
Summary
Field ID:
summary
Description: 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 aString
Example: Summary of the issue:
issue.getSummary()
Time Spent
Field name:
Time Spent
Field ID:
timespent
Description: 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 aLong
formatExample: Time spent on the issue in seconds:
issue.get("timespent")
getAsString("Time Spent") or getAsString("timespent")
that returns aString
representing 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 aLong
format:Example: Time spent on the issue in seconds:
issue.getTimeSpent()
Updated
Field name:
Updated
Field ID:
updated
Description: 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 aTimestamp
Example: Updated timestamp of the issue:
issue.get("updated")
getAsString("Updated") or getAsString("updated")
that returns aString
representing the issue updated date/time.Example: Updated timestamp of the issue:
issue.getAsString("updated")
getUpdated()
that returns aTimestamp
Example: Updated time stamp of the issue:
issue.getUpdated()
To manipulate the date see here
Votes
Field name:
Votes
Field ID:
votes
Description: 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 aString
with comma separated voters names:Example: Voters of the issue
issue.getAsString("voters")
getVotes()
that returns the number of votes inLong
Example: Number of votes on the issue:
issue.getVotes()
Watchers
Field name:
Watchers
Field ID:
watches
Description: 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 aString
with 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 Work
Field ID:
worklog
Description: 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 Ratio
Key:
workratio
Description: 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")
Long
Example: Work ratio of the issue
issue.get("workratio")
getAsString("Work Ratio") or getAsString("workratio")
that returns aString
representing 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 Estimate
Field ID:
aggregatetimeoriginalestimate
Description: 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 aString
representing the aggregate original estimate in seconds:Example: Aggregate original estimate of the issue in seconds:
issue.getAsString("aggregatetimeoriginalestimate")
∑ Remaining Estimate
Field name:
Σ Remaining Estimate
Field ID:
aggregatetimeestimate
Description: 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 aString
representing the aggregate remaining estimate in seconds:Example: Aggregate remaining estimate of the issue in seconds:
issue.getAsString("aggregatetimeestimate")
∑ Progress
Field name:
Σ Progress
Field ID:
aggregateprogress
Description: 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")
Long
format:Example: Aggregate Progress on the issue:
issue.get("aggregateprogress")
getAsString("aggregateprogress") or getAsString("∑ Progress")
that returns aString
representing the aggregate remaining estimate in seconds:Example: Aggregate progress on the issue:
issue.getAsString("aggregateprogress")
∑ Time Spent
Field name:
Σ Time Spent
Field ID:
aggregatetimespent
Description: 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 aString
representing the aggregate remaining estimate in seconds:Example: Aggregate time spent on the issue in seconds:
issue.getAsString("aggregatetimespent")