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}} Check out how we use smart values in our Jira automation template library. FR Jira Dev Aug 05, 2021 I currently have an Automation workflow that creates multiple tasks and subtasks. Properties are frequently used by add-ons and integrations to store values. role. If it has a time you may need to strip off the time part for the comparison by changing the format: {{triggerIssue.customfield_10043.jqlDate}}. Jira smart values - JSON functions See all smart values that take issue fields and convert them into JSON format. 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) {{deployment.state}} returns the state of the deployment. {{addedfieldChange.values}} - Returns the new value/values added. {{assignee.displayName}} - Returns the assignee, {{reporter.displayName}} - Returns the reporter, {{issueType.name}} - Returns the issue type, {{resolution}} - Returns the resolution status, {{created}} - Returns the date the issue was created, {{updated}} - Returns the date the issue was updated, {{Story Points}} - Returns the story points for the issue (company-managed Jira Software), {{Story point estimate}} - Returns the story points for the issue (team-managed Jira Software). Automation allows you to focus on the work that matters, removing the need to perform manual, repetitive tasks by allowing your teams to automate their tasks, processes, and workflows. Learn more about using smart values with sections and lists. {{version.startDate}} - Returns the version's start date. Share the love by gifting kudos to your peers. Learn more about automation triggers. - theIssue transitionedtrigger). Note that this will return an encoded URL; everything after bitbucket.org/ will look different from what you see here. {{repository.name}} returns the name of the repository, e.g. They enable customizing automation actions to be useful for your team and your customers. For example, if a rule uses the Create feature flag in LaunchDarkly action multiple times, {{flags} will return the information for all feature flags created, as a list. Accesses information for the version that triggered the rule. Learn more about configuring time tracking. Used with: the Send web request action (Wait for response enabled). General triggers include: Field value changed - when a field value is changed Form submitted - when forms attached to an issue are submitted When a PR is merged in Bitbucket/GitHub/GitLab, then transition the issue in Jira. {{version.released}} - Returnstrue if the version is released, andfalse if not. Thank you@Bill Sheboy for answer,The custom field is a Date Picker type. The Atlassian Community can help you and your team get more value out of Atlassian products and practices. 4877576. 200, {{webhookResponse.headers}} - headers that can be accessed with dot nation, {{webhookResponse.body}} - body that can be accessed with dot nation, {{webhookResponses}} - list of responses made when list operations. Returns the value of the Jira Service Managements scale custom field. For example, {{attachment.first.size}} will return the file size of the first attachment. {{issue. The type of event that triggered the rule. {{issue.updated}} - Returns the date the issue was updated. If this issue is in an Epic, then epic refers to the Epic issue. Whenever you want to edit a field in Jira, use the 'Edit issue' action. issue The active issue. A commit represents an individual change to a file (or set of files). {{issue.parent.key}} - Returns the issue key of the subtask's parent issue. Your image appears to show too many curly-brackets around the value. They can add significant power and complexity to your rules. 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! Is there a way to similar functionality in Jira-Server? As ever, test this rule out in your own instance. 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. Seeaccesing multi-value fields, Added by: This is added any time an issue is added. Step 3: Set up the condition like this: Change the field's value to Issue Type. Can be combined with other date and time smart values. {{sprint.isStarted}} - Returnstrue if the sprint has started, andfalse if not. {{issue.fix.Versions.archived}} - Returns true if the fix version is archived, andfalse if not. For more information on this, see Configuring a webhook later on this page. {{issue.comments.reverse.body}} - Returns the issue's comments, in reverse order. PROJ-213, {{issue.epic.status.name}} - Returns the epic's status, e.g. Examples of how you can use smart values to manipulate and format dates in your Jira automation rules. https://bitbucket.org/account/repo/TEST-123-some-feature. Learn how to find the right Jira automation smart values for your issue fields in Jira Cloud. Thisshould not be usedsince it requires an expensive reload of issue data. This example shows the previous status id (for use in another Edit action). A pull request represents proposed changes before they are integrated into an official project. However, you can now change the rule actor for your automation rules. In the form that is shown, enter the details for your new webhook. We do not currently support accessing fields within insight objects. {{issue.reporter.displayName}} - Returns the issue's reporter. Used to access the values in an issue'sFix Versionsfield. You could then use this to count the number of issues returned. Used to access information about an issue's epic. In the dropdown menu, you simply choose the field you want to work on, including custom fields and then edit. {{sprint.originBoardId}} - Returns the ID of the board the sprint belongs to. for a select field. Connect your source code management, build or deployment tool to use these smart values. See all smart values used to insert conditional logic such as if/equals/and statements into comments and other text fields. They often contain sub-tasks, are stories that are part of a larger epic, or are simply linked to other issues using certain relationships. Learn more about automation triggers. Learn more about using smart values with sections and lists. {{versions.released}}- Returnstrueif the affects version is released, andfalseif not. Examples of using smart values with text strings. These smart values are only available for the Build successful, Build failed and Build status changed developmenttriggers. Learn more about list smart values. Accesses information relating to the sprint that triggered the rule. For example,{{issue.affectedServices.changeApprovers.displayName}} will return their names. Go to Jira administration console > System > Webhooks (in the Advanced section). It may contain, for example, branches and tags names.This value is optional and may be an empty list. Is there a smart value that returns me only the name of the trigger sprint or at least only the name of the open sprint? Triggers, conditions, and actions are the building blocks of automation. {{createdBranches.repository.url}} - returns the URLs of each repository. Would be good and useful functionality to have. What goes around comes around! Triggers can be set to run on a schedule, and can be customized before being applied to a rule. An environment represents a distinct ecosystem where products are deployed to. On successful request, you will be able access webhook response data using the following smart values: The worklog entry that has just been logged against an issue. {{versions.releaseDate}}- Returns the affects version's release date. 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, 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, Automation for Jira documentation for Jira Server. When an epic is marked as done move all of its stories to done also. {{issue.timetracking.timespent}} - Returns the amount of time that has been logged on the issue in the Time spent field. https://bitbucket.org/{6d6d87be-bdc2-42b5-ad8f-85cb915abc38}/{80c30dd6-2d2f-401c-ac33-8317adbc509d}/addon/pipelines/deployments#!/deployments/{888ba48c-0011-5a46-9d59-8da313851383}. Learn how to use automation in Confluence Cloud, and see what components and variables you can use to build rules. {{issue.assignee.displayName}} - Returns the issue's assignee. This value supports Date and Time functions. Examples of using smart values with dates. Find issues that have the same custom field date as trigger issue. All of the issues found by the trigger are then treated as a single bundle of issues. Seeaccesing multi-value fields.Properties for versions include:name, description, archived, released, releaseDate. View topic Examples of using math expression smart values See all smart values related to Assets in Jira Service Management Cloud. There should be a locked field named either "Request Type" or "Customer Request Type" there. all fields available to{{issue}}are available here as well. A good tip for checking your progress is to say aloud what you have built so far: Whenever the field value changes for story points AND it is a sub-task. The spacing format is mentioned in the following article: New automation smart values in Jira Cloud, https://jira.atlassian.com/browse/JIRAAUTOSERVER-212, Smart-value-in-published-article-doesn-t-work. Accesses time tracking estimates. {{issue. You can also trigger rules to run from third party services like Bitbucket or GitHub. {{deletedFieldChanged.valueIds}} - Returns the id/ids of value/values deleted. A list of issues that have been created in the rule. {{rule.actor}} - Accesses the rule actor user. {{issue. {{attachment.author.timeZone}}: Returns the timezone the user is registered being in; this doesn't change dynamically based upon where the user logs in from, it is the timeZone registered in their user account. Or you could count how many issues have the same label, same fixVersion, etc. It resets every quarter so you always have a chance! There are many ways you can edit a field. Used with: the Create feature flag in LaunchDarkly action. To test what your smart value returns, use themanual triggerwithlog actionand the result displays in theaudit log. Connect thousands of apps for all your Atlassian products, Run a world-class agile software organization from discovery to delivery and operations, Enable dev, IT ops, and business teams to deliver great service at high velocity, Empower autonomous teams without losing organizational alignment, Great for startups, from incubator to IPO, Get the right tools for your growing business, Docs and resources to build Atlassian apps, Compliance, privacy, platform roadmap, and more, Stories on culture, tech, teams, and tips, Training and certifications for all skill levels, A forum for connecting, sharing, and learning. [property]}} You can set triggers to run on a schedule or as needed. 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. {{fieldChange.to}}Returns the new raw value, e.g. The rule actor is the user who executes a rule. You can also use this with, . {{issue.fixVersions.name}} - Returns the name of the fix version. Learn more about services in Jira Service Management. The active issue. Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. Issues in Jira rarely exist in isolation. Is the IF statement available for Server version? They allow you to automate tasks and make changes within your site. All of the issues found by the trigger are then treated as a single bundle of issues. Accesses the details of a subtask's parent issue. {{addedFieldChanged.fieldType}} - Returns the fieldType of the field that has changed due to addition of a value. {{issue.Customer Request Type}} - Returns the customer request type for older Jira instances. "sd.public.comment".internal}} -. {{version.archived}} - Returnstrue if the version is archived, andfalse if not. To test what your smart value returns, use themanual triggerwithlog actionand the result displays in theaudit log. 2020-07-20T07:00:00.0+0000. {{pullRequest.title}} returns the title of the pull request, e.g. {{attachment.author.emailAddress}}: Returnsthe email address associated with the user name. If more than one flag has been created throughout the rule, {{flag}} will return the most recently-created flag. These smart values are only available for the Pull request created, Pull request declined and Pull request mergedtriggers. A build represents the process in which files are converted into their final consumable form. The URL to access the issue. Properties are frequently used by add-ons and integrations to store values, e.g. You can also use this withlists. {{pullRequest.destinationBranch}} returns information related to the destination branch of the pull request. Returns the issue's comments. Returns the value of the Jira Service Managements scale custom field. Smart values are variables that you can use in automation action configuration parameters. {{createdBranch.product}} - returns the product that the branch was created in (for example, Bitbucket). Join now to unlock these features and more. Learn how to use these to interact with Jiras REST API. This value supportsDate and Time functions. Which Jira-server version supports the use of smart value: "{{#if }} text {{/}}, or is this a Jira-cloud only functionality ? This is more than enough for the interfce to update the issue over API and when it is finished, my automation will jump in and continue. What third-party applications can I integrate with? A selection of smart values make Jira issue details readily available for Automation for Jira rules. For example, you might count how many issues have a . Join the Kudos program to earn points and save your progress. Any idea if this will be added, and if so when? Triggers can be set to run manually, based on a condition you set or scheduled. {{issue.parent.priority.name}} - Returns the priority of the subtasks's parent issue. You can also trigger rules to run from third party services like Bitbucket or GitHub. 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, A list of issues generated by a trigger that runs a JQL search (, trigger when set to process in bulk). Platform Notice: Cloud, Server, and Data Center - This article applies equally to all platforms. Note that repository contains additional nested smart values. 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. Use an IDE like Visual Studio Code to find the path. Refers to the original issue when you branch the chain. These smart values are only available for the Build successful, Build failed and Build status changed development triggers. {{commit.hash}} returns the SHA1 hash of the commit, e.g.4877576951f3eda43625d3345058e702dad3df0d. {{attachment. The Atlassian Community can help you and your team get more value out of Atlassian products and practices. Do more to earn more! As a result of this design, the automation got initiated while triggered by a transition, however the data needed for the automation could not be yet updated. These smart values are only available for the Branch created development trigger. They are using the curly-brace syntax like { {someSmartValue}} . {{approval}} - Returns the name of the approval. When an issue is raised without an assignee, auto-assign to whoever created it. In the example below, we have a custom field calledTeam Leader, and the value of thefield is currentlyAlana Grant. {{approval.decision}} - Returns the final decision of the approval. These smart values can only be accessed through other root keys (e.g{{deployment.environment}}). {{flag.name}} returns the name of the feature flag. Every rule starts with a trigger. 2 edit issue actions that need to 'add' to the value of a field instead of overwriting it). This applies to the legacy Insight app. You can check this by navigating to the "Custom fields" page in the. Approval required: accesses information when an issue that requires approval is created or updated, or when new approvers are added to an issue. {{commit.message}} returns the commit message, e.g. What goes around comes around! E.g. Learn about the concepts and procedures related to automation in Jira Cloud, Smart values allow you to access issue data within Jira. You can access useful things like the previous status during a transition, Added by: Jira Triggers that contain a comment. {{issue.comments.first.body}} - Returns the body of the first comment. {{deployment.environment}} returns my-custom-prod-env, {{deployment.environment.type}} returns production. See, This allows access to data that was sent along with the incoming webhook, Added by: Send web request with "Wait for response" checked. {{comment.visibility.value}} - Returns the comment restriction label if any, e.g. 2020-07-20T07:00:00.0+0000. You can access all fields of the parent. The example below lists each person watching the issue - both their display name and their email address - in bulletpointform. All of the issues found by the trigger are then treated as a single bundle of issues. See all smart values that are used to insert and format numerical values using math expressions. All properties available to{{issue}}are also available on this smart value. {{attachment.author.displayName}}: Returnsthe name displayed in your Jira instance. When we use this trigger, we can use the { {webhookData}} smart value to represent the POST payload - we'll focus on this here. The following smart values are available to access and format development information from a connected source code management tool. Story points are integral for many agile teams. If you have multiple webhook responses, you can add the#symbol to apply the rule to each individual response. Smart values in Jira automation. {{attachment.author}}: Returnsthe user who added the attachment. Learn about the concepts and procedures related to automation in Jira Cloud. {{issue. See all Jira Cloud automation smart values related to date and time. Summary Automation for Jira has a trigger that reads incoming webhooks, both in on-premises and cloud intances. A deployment represents the process in which a product is released in an environment. Is the IF statement available for Server version? For example,jira:issue_updated :issue_commented.