Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel

On this page

Table of Contents
exclude(On this page|Use case).*
stylecircle
typeflat
separatorpipe



UI Text Box
sizemedium
typeinfo

Use case

Set any Date Picker field of an issue to a future date.



Configuration steps

UI Steps


UI Step

Target issue*

Select current issue or parent of current issue, and upon selecting: 

  • Selected issue - An issue must be selected from your current issue list.
  • Parser expression - A valid expression must be entered. In order to learn more about expressions, visit JWT expression editor

    .


    UI Step

    Fields

    UI Steps


    UI Step

    Choose a date field, e.g., Date picker, Planned end date, Planned start date, Due date...etc.
    In this example, we will consider Due date as our date field.


    UI Step

    After selecting Due date, in the popup configuration of the field: 

    Value*

    Select Set field value manually (parser expression) and enter the following expression:

    Code Block
    languagebash
    linenumberstrue
    %{dateTimeToString( {system.currentDateTime} + 7*DAY , "YYYY-MM-DD", RUN_AS_LOCAL, RUN_AS_LANG)}





    UI Step

    Run as*

    Choose which user* will be able to execute the post function. By default, it is set to the Current user.




    Related examples

    Page properties report
    firstcolumnUse case
    headingsJWT feature, Workflow function, Parser functions, Complexity
    sortByTitle
    cqllabel = "use-case" and space = currentSpace() and ancestor = "38569498"


    Excerpt Include
    DECADIS:Contact support
    DECADIS:Contact support
    nopaneltrue


    Page properties
    hiddentrue


    JWT feature

    Workflow functionUpdate fields
    Parser functionsdateTimeToString()
    Label
    Use case description

    Set any Date Picker field of an issue to a future date.

    Complexity

    Status
    colourGreen
    titleBeginner