-
Suggestion
-
Resolution: Unresolved
-
None
Problem
Assets REST API expects a DateTime in ISO 8601 Extended format with the timezone in the format "+hh:mm" or "Z" (for UTC).
However, Date and Time Smart Values in Automation for Jira don't have an option to automatically output a date in that format—the default DateTime value uses the format "+hhmm" (for example, "+1000") instead of "+hh:mm" ("+10:00").
Suggestion
Have an ISO 8601 DateTime compatibility in Automation so the DateTime values can be parsed accordingly.
Workaround
To workaround the creation date of a Jira issue to an Assets object created via the REST API, the replace smart value needs to be used to convert the DateTime to ISO-8601 compatible format.
- Example:
{{issue.created.jiraDateTime.replace("+0000","+00:00").replace("+0100","+01:00")}}
- relates to
-
JRASERVER-61378 REST API parses date/time strings poorly
- Gathering Interest
- links to