Versions Compared

Key

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

Macro is an expression that is evaluated during Jira issue creation e.g. "{currentdate}" string is replaced with current date: '2018-10-19'

Supported fields

Macros are supported in the following field types:

  • Text,  
  • Date
  • Datetime 

If you enter "{currentdate}" or "{currentdatetime}" macro in a fields then it will be be  evaluated accordingly evaluated

Macros

"{currentdate}"

Tip

Use this macro to enter current date in text or date field. During processing (schedule time) of the task macro will be replaced with current date

Examples:

  1. "{currentdate}" ,just current date
  2. "{currentdate+1}" - currentdate + 1 day
  3. "{currentdate-1}" - currentdate - 1 day

 


"{currentdatetime}"

Tip

Use this macro to enter current date and time in text or date field. During processing (schedule time) of the task macro will be replaced with current date and time.

Examples:

  1. "{currentdatetime}" ,just current date and time
  2. "{currentdatetime+1}" ,current date and time plus one day
  3. "{currentdatetime-1}" ,current date and time minus one day

...


Example of macros on edit task screen