Provide the option to use ISO 8601 DateTime format for Assets compatibility

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Smart-values

      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")}}
        

              Assignee:
              Unassigned
              Reporter:
              Aline Staudt
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: