Hi, I created an automation with smart date and time values,
I want to calculate the time from start date or begin date to end date/(now in automation).
I have created several smart value queries but none of them work.
Any ideas what I should change.
When you are inside the branch use {{triggerIssue}} instead of {{issue}} to reference the original tickets data.
Also always good idea to log these smart values outside of branch first referencing {{issue}} first to verify.
Then log the same values inside branch but by using triggerissue reference instead of {{issue}}
Adding to the answer from @Kalyan Sattaluri ...
Would you please explain some things about your rule:
On the last point, smart values are name, spacing, and case-sensitive. And often the smart value does not match the displayed field name on the issue views. The how-to article below helps to identify the correct smart value (and custom field id) for any supported fields for automation rules.
The essential steps are:
https://<yourinstanceurl>/rest/api/2/issue/<issuekey>?expand=names
https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.