Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×Saludos,
Necesito ayuda.
En la imagen donde se muestra el SLA de mis subtareas, aparece la fecha en que finaliza el tiempo definido en el SLA. Lo que necesito es que esa fecha se copie y se muestre en un campo personalizado (tipo fecha y hora) ubicado más abajo, y que se vaya actualizando según el SLA.
Es decir, que si el SLA está en estado de pausa, el campo no cambie; pero si el SLA se reactiva y se recalcula la fecha, entonces el campo debe actualizarse con la nueva fecha.
¡Gracias de ante mano!
Hi @Emil Alexander Pichardo Ogando ,
Welcome to Atlassian community an thank for your question.
The sla fields are calculated field and there isn't a easy way to get and copy their values.
You could try with an automation, or better a script if possible, that call the following rest API: https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-issueidorkey-sla-get
Hope it helps.
Kind regards
@Emil Alexander Pichardo Ogando
Welcome to the community. I believe you may be able to create automation rule(s) to copy SLA related fields (using Smart Values reference) value and edit your JSM issues custom date fields.
Here are some references from the community -
https://support.atlassian.com/jira/kb/how-to-find-smart-value-of-sla-component-of-jsm-issues/
Hope this helps. Sorry I don't have the exact solution for you.
Best, Joseph Chung Yin
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.