Uploaded image for project: 'Xporter for Jira'
  1. Xporter for Jira
  2. XPORTER-1154

As an User, I can use a function to format time duration.

    XporterXMLWordPrintable

    Details

    • Sprint:
      R5.1.0 Sprint 3
    • Story Points:
      3
    • Automated Test Case:
      Hide
      Automation v7:
      word:testTemplate56
      excel:testSuite45Duration
      Automation v6:
      word:testTemplate56
      excel:testSuite45Duration
      Show
      Automation v7: word:testTemplate56 excel:testSuite45Duration Automation v6: word:testTemplate56 excel:testSuite45Duration
    • Requirement Status:

      Release 5.1.0 - OK

      Release 5.1.0-j6 - OK

      Description

      This function must be something like dateformat or numberformat.

      Usage:

      //Simple case
      ${durationformat:Field}
      //JavaScript
      ${durationformat:%{var timeValue="5w 6d 4h"; timeValue;}}

      The input can be a String or a numeric value. The behaviour must be the following:

      • String: the returned value must be the time in milliseconds.
      • Numeric: the returned value must be the duration time formatted.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sdrg Severino Goios
                Reporter:
                rmbr Rui Rodrigues
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 days
                  3d
                  Remaining:
                  Time Spent - 2 days, 5 hours, 30 minutes Remaining Estimate - 2 hours, 30 minutes
                  2h 30m
                  Logged:
                  Time Spent - 2 days, 5 hours, 30 minutes Remaining Estimate - 2 hours, 30 minutes
                  2d 5h 30m