Buenos días,
Estoy intentado hacer lo siguiente en un tipo de issue llamada Intervención.
En la intervención hay los dos siguientes campos:
- Fecha inicio intervención -> customfield id = 14293
- Fecha fin intervención -> customfield id = 14295
Entre estos dos hago una automatización que calcula el Tiempo de intervención que es otro campo con customfield id = 14300, donde se realiza lo siguiente:
{{customfield_14293.diff(customfield_14295).abs}}, y en la issue muestra por ejemplo,
Hi @Andrés Gutiérrez Flores -- Welcome to the Atlassian Community!
The date / time diff() function returns a text value in the selected units, such as hours. In your case, you are allowing it to use the absolute value format and then default to "prettyPrint" format to get "9 hours 30 minutes".
But that value cannot be used in a math operation.
The solution approach depends upon the type of your Intervention Start Date and Intervention End Date custom fields:
Kind regards,
Bill
Hi @Andrés Gutiérrez Flores , welcome to the Atlassian Community and thanks for your post.
Please can you share the automations you are using for this?
We would ideally like to see the rule or rules and the audit log so we can see what the error is.
Looking forward to getting some more information so we can assist.
Best wishes
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.