For example, you might count how many issues have a priority of 'highest' and then send an alert. {{branch.repository.url}} returns the URL, e.g. {{issue.comments.last.body}} - Returns the body of the last comment. It some places it pops up, but there is no real explanation. Is the IF statement available for Server version? {{issue.fix.Versions.archived}} - Returns true if the fix version is archived, andfalse if not. Used to access information about an issue's epic. Returns the value of the Jira Service Managements rate custom field. Jira smart values - issues | Automation for Jira Data Center and Server Smart values are one of the most potent ways to do so. The smartvalue{{webhookData}}gets the root of the JSON payload. Through the dot notation you can access fields like issue type, status and custom fields (details on how you can use these to interact with Jira's REST api are here) Multiple comments on the active issue (this example is explained in detail inhow to use smart values), Components of an issue as a list. Thank you@Bill Sheboy for answer,The custom field is a Date Picker type. Automation is a great way to reduce the manual work of keeping story points up to date. https://bitbucket.org/commit/121212, {{commit.isMergeCommit}} returns True if commit is a merge commit, {{commit.timestamp}} returns the timestamp (UTC) the commit was created. You're on your way to the next level! How releases get into the Release Center - Atlassian Community Properties are frequently used by add-ons and integrations to store values. Create and configure Jira automation rules, Branch automation rules to perform actions on related issues, Issue data (Automation format) payload for Send Web Request, Issue data (Jira format) payload for Send Web Request action, Limitations in team-managed projects for automation rules, Permissions required for Jira Cloud automation rules, Test a Jira automation rule using the Manual trigger, Transfer Jira automation rules from one user to another, Differences between Automation in Jira Server and Jira Cloud, Examples of using math expression smart values, Examples of using smart values with dates, Examples of using smart values with lists, Examples of using smart values with text strings, Use Jira automation rules to modify issues, Convert wiki markup to HTML or plain text in Jira automation, Move an issue to another project using automation, Version created, Version updated, and Version released triggers. this is only available for some triggers. Check out how we use smart values in our Jira automation template library. Returns the value of the Jira Service Managements rate custom field. Returns the issue's comments. {{pullRequest.createdDate}} returns the time (UTC) when the pull request was created, e.g. Jira Automation: Building New Rules in 5 Easy Steps - Hevo Data In this case, we want to choose the Field value changed trigger. Used to access the values in an issue'sFix Versionsfield. The active issue. You can also trigger rules to run from third party services like Bitbucket or GitHub. {{pullRequest.destinationBranch}} returns information related to the destination branch of the pull request. Any idea if this will be added, and if so when? You can access useful things like the previous status during a transition, Added by: Jira Triggers that contain a comment. Accesses information related to a file attachment on an issue. Please share more details and screenshots in order to be able to help you. Now whenever the story points of a sub-task changes, it will be reflected in the parent issue. Note that repository contains additional nested smart values. The "Request Type" prefix may be"Customer Request Type" in older instances of Jira. What goes around comes around! {{pullRequest.destinationBranch.repository}} returns information related to the destination branchs repository. {{comment.visibility.value}} - Returns the comment restriction label if any, e.g. Because this smart value deals with multiple items (i.e: issues can have many Affects versions), it can be used with the#symbol to apply the rule to each individual component. {{createdBranches.name}} - returns the names of the branches, {{createdBranches.url}} - returns the URLs of the branches. Join the Kudos program to earn points and save your progress. On successful request, you will be able access webhook response data using the available smart values. Learn more about list smart values. The comment that triggers the rule is stored in this smart value. Triggers can be set to run on a schedule, and can be customized before being applied to a rule. {{issue.components.name}}- Returns the values in the issue'sComponentfield. A commit represents an individual change to a file (or set of files). Looking forward to see it implemented soon! After testing, disable both the HTTP dump and access logs to avoid performance issues. "sd.public.comment".internal}}, Best practices for optimizing automation rules, View performance insights for automation rules, Connect your automation rule to another tool. In the project menu, click on Project Settings. {{branch.name}} returns the name of the branch, e.g. https://bitbucket.org/{7faf7dee-a29b-4faa-bbc2-d7128a6d3278}/{315a3ecb-1f18-4953-98ae-5890f93073b5}/addon/pipelines/home#!/results/7, {{build.state}} returns the state of the build. {{approval}} - Returns the name of the approval. {{attachment.mimeType}}: Returnsthe file format of the attachment. {{versions.released}}- Returnstrueif the affects version is released, andfalseif not. What third-party applications can I integrate with? {{version.id}} - Returns the version's ID. {{issue.latest.description}} - Returns the status's description. A repository represents a collection of files and associated metadata. Added by: Jira Triggers that edit an issue, All the fields that were changed. They are variables in the sense that their actual values will be calculated while the automation rule is being executed: You can use two types of smart values: Otherwise, register and sign in. {{issue.created}} - Returns the issue's creation date. This means that when using automation, actions often need to apply, not only to the source issue that triggered the rule, but also to any issues that are related to the source issue. See all Jira Cloud automation smart values related to date and time. I suspect not. These smart values are only available for the Pull request created, Pull request declined and Pull request mergedtriggers. {addedfieldChange.field}} - Returns the field which has changed due to addition of a value. To get a concrete example, let's consider the payload below: Here are some examples of ways to test the JSON path to get the right data in the smart values, so you can get it right on your first try! {{issue. View topic Examples of using math expression smart values Andit appears you are using Server/Data Center version, as the Re-fetch action does not have the "delay rule" option for Cloud. If this issue is a sub-task, then parent refers to the parent issue. twoEdit issueactions that need toaddto the value of a field, instead of overwriting it. Affects version of an issue as a list. Learn more about user smart values, {{approval.completedDate}} - Returns completion date of approval. {{comment.created}} - Returns the date and time of the comment. "sd.public.comment".internal}} -. {{deployment.environment}} returns information related to the deployment environment. {{commit.shortHash}} returns the truncated SHA1 hash of the commit, e.g. {{sprint.isStarted}} - Returnstrue if the sprint has started, andfalse if not. You can also use this withlists. :{{issue.properties.some.value}}. In the below example, we list each fix version that the issue has been added to, followed by the version's release date, in bullet point form. See all smart values related to Assets in Jira Service Management Cloud. {{issue. {{pullRequest.sourceBranch}} returns information related to the source branch for the pull request. For example, you can use the following smart values to send a Slack message that includes the issue key and issue summary: {{issue.key}} {{issue.summary}}. A deployment represents the process in which a product is released in an environment. In this case, we want to perform an action on the parent of the sub-task so in the dropdown menu, we choose Parent. Story points are integral for many agile teams. [Custom Field].defaultValue}} - Returns the value displayed on first view of the field. @Simeon Ross - Any ideas on this one? However sometimes the two fields holds the same person, resulting in an email with twice the same name. The issue is not so much with the smart values itself, but with the {{#if }} statement. In the example below, we have a custom field calledTeam Leader, and the value of thefield is currentlyAlana Grant. If multiple values are changed (e.g. Added by: Send web request with "Wait for response" checkedOn successful request, you will be able access webhook response data using the following smart values: Multiple responses can be access via the following fields: Added by: Worklogged TriggerThe worklog entry that has just been logged against an issue. Whenever you want to edit a field in Jira, use the 'Edit issue' action. And we have lots more automation templates and guides for you to use and learn from in the automation template library. If more than one flag has been created throughout the rule, {{flag}} will return the most recently-created flag. A list of issues that have been created in the rule. You could then use this to count the number of issues returned. For example,{{issue.affectedServices.changeApprovers.displayName}} will return their names. Some issue properties are more complex, and theyve been described in their own sections on this page. Seeaccesing multi-value fields, Added by: This is added any time an issue is added. You're on your way to the next level! The issue smart values are used to access information related to the rules active issue, which is the issue the rule is currently acting on. Or .displayName if accountId doe not work as hoped. For example, wheninvalid referencedoesn't contain a value, you can printHello worldusing{{invalid reference|"Hello world"}}. Or you could count how many issues have the same label, same fixVersion, etc. Affects version of an issue as a list. All of the issues found by the trigger are then treated as a single bundle of issues. However, you can now change the rule actor for your automation rules. Learn more about using smart values with sections and lists. Through the dot notation you can access fields like issue type, status and custom fields (details on how you can use these to interact with Jira's REST api are here) This smart value only works for issues that have been added to an epic. Find issues that have the same custom field date as trigger issue. Issue commented, Added by: Clone Issue Action, Create Issue Action, Create Sub-tasks Action, A list of issues that have been created in the rule, The type of event that triggered the rule such as: jira:issue_updated :issue_commented. Do more to earn more! Jira Automation: Get the Basics Right [2023] - iDalko If you've already registered, sign in. Learn about the concepts and procedures related to automation in Jira Cloud, Smart values allow you to access issue data within Jira. Returns the value of the Jira Service Managements scale custom field. Used with: the Create feature flag in LaunchDarkly action. If multiple values are changed (e.g.