Hi All,
I am trying to copy a numerical value from the story over to the sub-task issue and have that convert to hours.
If the story's LOE field is updated -> copy that number to the subtask in hours over to the Original estimate field.
Here is my rule, but I am only getting errors and no results whatsoever:
Hi @Sam
The smart value in your edit is incorrect. If you want the field from your custom field, use only the trigger issue prefix:
{{triggerIssue.yourfield}}
Next, the remaining syntax of your field edit is puzzling. What are the name and type of the field in your Story? The syntax you show looks more like a cascading field rather than a numeric field.
If it is just a number, there is no need for the sum as it is just a number.
Kind regards,
Bill
This seems to work, but it defaults my time entered on the original estimate to min. How can I convert this to hours?
So far I have tried this, but no luck:
{{#=}}{{triggerIssue.LOE.divide(60)}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What are the units of measure of your source, custom field: seconds, minutes, etc.
My understanding is the built-in, time tracking values, available to rules, are in seconds. When you divided by 60 that gives a value in minutes.
And so you could divide by 3600 instead or add a units of measure of h (for hours) at the end of setting the field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, it defaults to minutes. I have tried the below, but still get no results. I would like to get the LOE which is a number convert to hours. Please let me know where I am wrong:
{{#=}}{{triggerIssue.LOE.divide(3600)}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You may either:
Add an h at the end to set as hours, or
Enter the number in the original estimate as seconds and it will convert correctly.
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.