Uploaded image for project: 'Automation for Jira Server'
  1. Automation for Jira Server
  2. JIRAAUTOSERVER-1116

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

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Smart-values
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

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

              Unassigned Unassigned
              6bebacf0c7e4 Aline Staudt
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: