Smart Values
What are smart values?
Smart values allow you to access and manipulate issue data within Atlassian Cloud. They can add significant power and complexity to your rules.
Access Commonly Used Information
Issue creation date: {{issue.created}}
Issue summary (“title”):{{issue.summary}}
Issue description: {{issue.description}}
Issue status: {{issue.status}}
Issue URL: {{issue.URL}} OR https://your-site.atlassian.net/browse/{{issue.key}}
Assignee first and last name: {{issue.assignee.displayName}}
Assignee user ID: {{issue.assignee.name}}
Mention a user: [~accountId:157A98%3Ae5b8cc8b-4450-4c41-bk3b-ad5933507069]
Issue creator: {{creator.displayName}}
Issue reporter: {{issue.reporter.displayName}}
Issue watchers: {{issue.watchers}}
Issue links: {{issue.issuelinks}}
Latest issue comment: {{issue.comments.last.body}}
Issue attachment list: {{issue.attachment}}
Issue version name: {{version.name}}
Project key: {{project.key}}
Project lead first and last name: {{issue.project.lead.displayName}}
Project lead email address: {{issue.project.lead.emailAddress}}
Project lead ID: {{issue.project.lead.name}}
Smart values in JQL: "Epic Link" IN ({{issue.key}}) OR "parentEpic" IN ({{issue.key}})
Calculations
30 days from now: {{now.plusDays(30)}}
Issue creation date plus 3 business days: {{issue.created.plusBusinessDays(3)}}
Next Monday’s date: {{now.withNextDayOfWeek("MON")}}
Next Monday’s date plus 7 days: {{now.withNextDayOfWeek("MON").plusDays(7).jqlDate}}
Convert time zone: {{now.convertToTimeZone("America/Los_Angeles").shortTime}}
Calculate percent complete: {{#=}}{{issue.timeSpent.divide(3600)}}-{{issue.original estimate.divide(3600)}}{{/}}
Add two custom number fields: {{#=}}({{issue.Dev Estimate}} + {{issue.QA Estimate}})*60{{/}}
Calculate sub-task story points: {{issue.subtasks.Story Points.sum}}
Calculate custom number field and hard coded value: {{#=}}{{issue.Cost}} * 0.6{{/}}
Format Results
Issue creation date plus 3 business days formatted as MM/dd/yyyy: {{issue.created.plusBusinessDays(3).format("MM/dd/yyyy")}}
Issue update date and timestamp: {{issue.updated.longDateTime}}