Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use automation to return the value from the date field to the “description” field of a tas

Дар'я Малярик
Contributor
July 23, 2024

Для создания автоматизации необходимо, чтобы при изменении статуса создавалась новая задача и в описание передавалось значение даты и времени. Это выражение {{issues.customfield_10111}} почему-то искажает время на 3 часа назад. Если кто-то может подсказать, буду очень благодарен)

1 answer

1 accepted

0 votes
Answer accepted
Jim Knepley - ReleaseTEAM
Atlassian Partner
July 23, 2024

As translated by Google:

To create automation, it is necessary that when the status changes, a new task is created and the date and time value is passed to the description. This expression {{issues.customfield_10111)) for some reason distorts the time by 3 hours ago. If anyone
can advise, I would be very grateful

Since you wrote your question in Russian and Moscow is three hours ahead of UTC, I suspect that the custom field is representing UTC.

You can convert to a different time zone:

{{issues.customfield_10111.convertToTimeZone("Europe/Moscow")}}

 

 

Дар'я Малярик
Contributor
July 23, 2024

Thank you for your help. This is what you need)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events