Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

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  evaluated accordingly. 

Macros

"{currentdate}"

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

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

  • No labels