Hi,
I want to retrive the old and current value of my numeric value, which I need help in syntax which I can use in the automation rule to retrieve it my Field Name is Logged Hours.
For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected. Those will provide context for the community to offer ideas. Thanks!
Until we see those...
If your trigger is for a change to that field, please use the changelog smart value for the current and prior values of the field: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--changelog--
If your trigger is not on a change to the field, what you ask is not easily possible with an automation rule, as it would need to get the changelogs using the REST API, and filter them for your field to find the changes...and that may not work if there are many changes listed in the log.
Kind regards,
Bill
So sorry fo this,
Let me explain.
Whenever the Logged Hours field is updated the rule will trigger and update the parent. But I have another field name as Current Month which store the Logged Hours of only current month so whenever I am updating the Logged Hours field I need the previous value and the new value then I will subtract it and add the value to the current month.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Again, please post images of your complete rule and audit log details showing the rule execution. Those will provide context to offer better suggestions. Thank you.
When you describe "whenever the Logged Hours field is updated", do you mean a custom field with that name or that you are using the built-in time tracking features of Jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry for not posting images, basically I want the changelog of the value "Logged Hours: is the customfield so whenever its value changes I want to retrieve its old value which I have achieved via Changelog.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.