{{issue.fix.Versions.archived}} - Returns true if the fix version is archived, andfalse if not. You can access useful things like the previous status during a transition, Added by: Jira Triggers that contain a comment. There should be a locked field named either "Request Type" or "Customer Request Type" there. And we have lots more automation templates and guides for you to use and learn from in the automation template library. These smart values can only be accessed through other root keys (e.g. Wonderful :). Examples of how you can use smart values to access and format items in a list, such as checkboxes and labels. Learn more about date and time smart values. This re-fetches the latest state of the issue from Jira. 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) They kick off the execution of your rules. Awesome! {{changelog.status}} - Changelog information for theStatus field. What that error tells me one of three things is happening: Let's try this: immediately after your trigger, add two things: a) If the rule works after adding the re-fetch, the cause was #1, b) If the audit log does not show your date, it is either #2 or #3. Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. Your thorough reply here helped me in a completely different use case. Returns the value of the Jira Service Managements scale custom field. {{issue.TempoAccountField}} - Returns the name of the account, {{issue.TempoAccountField.id}} - Returns the ID of the account, {{issue.TempoAccountField.name}} - Returns the name of the account, {{issue.TempoAccountField.value}} - Returns the name of the account, Can be used with: the Approval required trigger and the Approval completed trigger. Smart values - syntax and formatting; Jira smart values - issues; Jira smart values - conditional logic; . 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: {{comment.created}} - Returns the date and time of the comment. Share the love by gifting kudos to your peers. Available only for the pull request created trigger. The legacy Insight App will reach end of service on March 31, 2022. For example, if the epic has a custom field calledInitiative, then{{issue.epic.Initiative}} will return the value in the Initiative field. TEST-123-some-feature, {{pullRequest.sourceBranch.url}} returns the URL of the source branch, e.g.https://bitbucket.org/account/repo/TEST-123-some-feature. Use an IDE like Visual Studio Code to find the path. Thanks for sharing the link back in this question, it might help others in future! {{issue.duedate}} - Returns theissue's due date. You can also trigger rules to run from third party services like Bitbucket or GitHub. {{issue.Request Type.requestType.name}} - Returns the customer request type. This was something we have added since the split and I suspect that the server team has not caught up. Every rule starts with a trigger. {{pullRequest.sourceBranch}} returns information related to the source branch for the pull request. Accesses any issue property. {{addedFieldChanged.fieldId}} - Returns the fieldId of the field that has changed due to addition of a value. Looking forward to see it implemented soon! Learn how to use automation in Confluence Cloud, and see what components and variables you can use to build rules. Used to access information about an issue's epic. For example if a rule has both a Create branch in GitHub action and a Create branch in GitLab action, the details of the most recent branch will be returned. Affects version of an issue as a list. global admin section. {{fieldChange}}only contains the first changed value. Properties are frequently used by add-ons and integrations to store values. Learn about the concepts and procedures related to automation in Jira Cloud. For example, the smart value{{now.plusDays(5)}} references the current time and adds 5 days to it, while {{issue.summary}} will print off the summary of the issue. All properties available to{{issue}}are also available on this smart value. Possible states include pending, in_progress, successful, failed, cancelled, or unknown. text {{/}}, or is this a Jira-cloud only functionality ? We do not currently support accessing fields within insight objects. To test what your smart value returns, use themanual triggerwithlog actionand the result displays in theaudit log. This re-fetches the latest state of the issue from Jira. The "Request Type" prefix may be"Customer Request Type" in older instances of Jira. Prints the issue key and its status (e.g. {{deletedFieldChanged.valueIds}} - Returns the id/ids of value/values deleted. 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! We do not currently support accessing fields within insight objects. They can add significant power and complexity to your rules. Seeaccesing multi-value fields, Added by: This is added any time an issue is added. all fields available to{{issue}}are available here as well. This value supportsDate and Time functions. 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. However sometimes the two fields holds the same p. Note that environment contains additional nested smart values. Learn how to use automation in Confluence Cloud, and see what components and variables you can use to build rules. Just for future visibility (for anyone else who finds this question), I tested a few of the options in the linked question above, and another question which was linked to from there. For example, you might count how many issues have a priority of 'highest' and then send an alert. I'll ask one of their team to update you here. I would like to use this in a reminder email, that is sent to two people, using as source two different people fields. Smart Commit examples to use with Git and Automation for Jira Step 1: In the top-right corner of your Jira Automation Settings, select Create Rule. If you've already registered, sign in. {{issue.fixVersions.name}} - Returns the name of the fix version. Jira Software Questions Smart value of trigger issue in automation Smart value of trigger issue in automation Eliyahu Klein Jan 09, 2023 Hi, I created an automation that created a value in a short text field. This smart value only works for issues that have been added to an epic. {{issue.Story Points}} - Returns the issue's story point estimate (company-managed Jira Software Cloud only). Thank you@Bill Sheboy for answer,The custom field is a Date Picker type. There should be a locked field named either "Request Type" or "Customer Request Type" there. Connect your source code management, build or deployment tool to use these smart values. {{changelog.summary}} - Changelog information for theSummaryfield. I'll mention the docs discrepancies to the person that maintains our documentation. Which Jira-server version supports the use of smart value: "{{#if }} text {{/}}, or is this a Jira-cloud only functionality ? For more information on when issues is available, see, Multiple comments on the active issue (this example is explained in detail in, Properties for versions include:name, description, archived, released, releaseDate, "Customer Request Type" in older instances of Jira. {{comment.author}} - Returns the ID of comment's author. We will ensure the story points of the parent and sub-task always remain in sync. action: Re-fetch issue (This will slow down the rule by reloading the newly created issue, as all of the data may not be ready when the rule runs.). {{issue. {fieldChange.fromString}} - Returns the previous value as displayed. See all smart values related to user fields, such as Reporter or Assignee. {{version.id}} - Returns the version's ID. You can view the status of an automation rule to identify if the rule is currently active or not. It is better to use this than name as it cannot be changed. This value supports Date and Time functions. {{createdBranch.product}} - returns the product that the branch was created in (for example, Bitbucket). I've not been able to find such kind of information. {{issue.affectedServices.dependentServices}}- Returns the list of services that this issue's services depend on. If this issue is in an Epic, then epic refers to the Epic issue. With our simple no-code rule builder, you can create automation rules to take care of everything from the most simple repetitive tasks to the most complex scenarios - all in a few clicks. Step 2: Save the Issue generated trigger. {{commit.shortHash}} returns the truncated SHA1 hash of the commit, e.g. Understand the general concepts and best practices of automation in Atlassian Cloud products. Simply combine these components to create rules that can do anything from auto-closing old issues to notifying specific teams when a release has been shipped. To test what your smart value returns, use themanual triggerwithlog actionand the result displays in theaudit log. Multiple comments on the active issue (this example is explained in detail inhow to use smart values), Components of an issue as a list. For example, PROJ-123. We select the exact field we are listening out for, in this case story points. {{deployment.environment}} returns my-custom-prod-env, {{deployment.environment.type}} returns production. Jira smart values - issues | Cloud automation Cloud - Atlassian Support Examples of using math expression smart values. {{issue.created}} - Returns the issue's creation date. {{sprint.isClosed}} -Returnstrueif the sprint has closed, andfalseif not. [Custom Field].defaultValue}} - Returns the value displayed on first view of the field. https://bitbucket.org/account/repo/TEST-123-some-feature. Triggers: Triggers wait for defined events to take place in your Jira instance and will then execute the automation rule. Here is an example automation rule which can be used as a templated rule for creating a Release Center Epic from any (or selected) Jira Software project versions automatically: Rule step. Please share more details and screenshots in order to be able to help you. Thisshould not be usedsince it requires an expensive reload of issue data. {{attachment.author.accountId}}: Returnsthe ID associated with the user name. {{issue.url.customer}} - Returns the customer portal URL (forJira Service Management requests). You can access all fields of the parent. Can you provide a screenshot of your result? There is a feature request for it though - check outAUT-648. {{issue. {{comment.internal}} - forJira Service Management comments, returns false if the comment is visible to customers. To get a property in it, we should use{{webhookData.someValue.childValue}}. {{repository.name}} returns the name of the repository, e.g. These can be combined with other date and time smart values. {{version.archived}} - Returnstrue if the version is archived, andfalse if not. {{flag.name}} returns the name of the feature flag. {{issue. Smart values allow you to access issue data within Jira. A representation of a release/version in Jira. 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. issue The active issue. Visit the marketplace to integrate your build or deployment tool with Jira Cloud. {{deployment.environment}} returns information related to the deployment environment. The active issue. 2020-07-20T07:00:00.0+0000. 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. action: log to the audit file this value. You can access all fields of the Epic. See all smart values that are used to insert and format numerical values using math expressions. For example,{{issue.affectedServices.changeApprovers.displayName}} will return their names. Join the Kudos program to earn points and save your progress. {{issue.comments.reverse.body}} - Returns the issue's comments, in reverse order. Now whenever the story points of a sub-task changes, it will be reflected in the parent issue. Learn more about list smart values. 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}}. {{version.releaseDate}} - Returns the version's release date. These smart values are only available for the Commit created development trigger. For more information on this, see Configuring a webhook later on this page. They often contain sub-tasks, are stories that are part of a larger epic, or are simply linked to other issues using certain relationships. [property]}}, you can also access custom field information on your issues. Accesses information for the version that triggered the rule. In this way, approval returns two different values depending on the trigger being Approval required or Approval completed - https://support . Accesses a Tempo Account field's properties. Automation rules are made up of three parts: triggers that kick off the rule, conditions that refine the rule, and actions that perform tasks in your site. The only situation where this is necessary, is where subsequent actions need to have visibility of the latest state of the issue (e.g. In automation configuration , use "Issue Created" trigger and use the log action to get the smart value below :- {{comment.visibility.value}} - Returns the comment restriction label if any, e.g. Do more to earn more! Summary Automation for Jira has a trigger that reads incoming webhooks, both in on-premises and cloud intances. Learn more about date smart values. Can you please assist us in working out the following issues? See all smart values that access and manipulate Jira issue data such as sprint, parent, or version. {{version.released}} - Returnstrue if the version is released, andfalse if not. Otherwise, register and sign in. In the dropdown menu, you simply choose the field you want to work on, including custom fields and then edit. View topic Find the smart value for a field Learn how to find the right Jira automation smart values for your issue fields in Jira Cloud. General triggers These triggers can be used across all Jira products. {{versions.name}}- Returns the name of the affects version. {{fieldChange}}only contains the first changed value. Challenges come and go, but your rewards stay with you. Here you can access any issue property. You could then use this to count the number of issues returned. Learn more about automation triggers. [Custom Field].name}} - Returns the visible label displayed on the left of the field. {{sprint.originBoardId}} - Returns the ID of the board the sprint belongs to. The option to created linked issues (and then pick the blocked option) exists, but only to pick the issue from the trigger value or the most recently created issue to create a link. Returns the value of the Jira Service Managements scale custom field. What I didn't notice, is that I entered the value: {{issue.sprint.name}}. Multiple comments on the active issue (this example is explained in detail inhow to use smart values), Components of an issue as a list. For example, you might count how many issues have a priority of 'highest' and then send an alert. If you have multiple webhook responses, you can add the#symbol to apply the rule to each individual response. {{issue.fixVersions.releaseDate}} - Returns the fix version's release date. If multiple values are changed (e.g. You're on your way to the next level! You can access all fields of the parent. Are you looking for server documentation? Learn more about automation triggers. [Custom Field].id}} - Returns the unique id for the field assigned by Jira. Fix versions of an issue as a list. Approval required: accesses information when an issue that requires approval is created or updated, or when new approvers are added to an issue. Learn more about date smart values.