Hello all,
I need to solve an issue, where we are using the time tracking in Jira and I need to copy the data from the "Original estimation" filed to my custom field with every change and with every new creation.
My custom field has to be the number.
I used the Jira automation, but Jira is giving me information, that Jira was not able to convert the field value into the number.
Here is the formula I am trying to use:
{
"fields": {
"Sledování času [TEST2]": "{{timetracking.originalEstimate}}"
}
}
Thank you for any help.
Hi @Filip Novák
Welcome to the Atlassian community!
Can you try replacing 'Sledování času [TEST2]' with the custom field id like 'customfield_xxxxx'?
Also, can you provide the screenshot of how you have setup the automation rule and what is the actual error if any?
Thanks,
Vamsi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Filip Novák
Thank you for providing the screenshots.
The original estimate value is measured in milliseconds. So, you can choose to convert the value accordingly depending on whether you want the value to be in minutes or hours etc.
{{timetracking.originalEstimate / 60,000}} should give you the value in minutes. Can you try this?
Regards,
Vamsi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Vamsi Kandala Now I am receiving success message, but the value of the custom field remain NULL.
Can you help me to solve this?
Thank you,
Filip
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Vamsi Kandala the solution was:
{{issue.Original estimate}}/60
Or if we wanted hours format /3600 instead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Filip,
I tried this solution, but get this kin of error. Can you help me?
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.