Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

...

Name

Macro inserted

Other examples

Date Offset

{{date.now(0,"dd/MM/yyyy”, ”GTM+1”)}} - today

  • {{date.now(1)}} - tomorrow

  • {{date.now(-1)}} - yesterday

  • {{date.now(-7)}} - 7 days ago

Start of Week

{{date.startOfWeek(0,"dd/MM/yyyy”, ”GTM+1”)}} - start of the week

  • {{date.startOfWeek(-1,"dd/MM/yyyy”, ”GTM+1”)}} - start of the previous week

  • {{date.startOfWeek(1,"dd/MM/yyyy”, ”GTM+1”)}} - start of the next week

End of Week

{{date.endOfWeek(0,"dd/MM/yyyy”, ”GTM+1”)}} - end of the week

  • {{date.endOfWeek(-1,"dd/MM/yyyy”, ”GTM+1”)}} - end of the previous week

  • {{date.endOfWeek(1,"dd/MM/yyyy”, ”GTM+1”)}} - end of the next week

Start of Month

{{date.startOfMonth(0,"dd/MM/yyyy”, ”GTM+1”)}} - start of this month

  • {{date.startOfMonth(1,"dd/MM/yyyy”, ”GTM+1”)}} - start of the next month

End of Month

{{date.endOfMonth(0,"dd/MM/yyyy”, ”GTM+1”)}} - end of month

  • {{date.endOfMonth(-1,"dd/MM/yyyy”, ”GTM+1”)}} - end of the previous month

Start of Year

{{date.startOfYear(0,"dd/MM/yyyy”, ”GTM+1”)}} - start of the year

  • {date.startOfYear(1,"dd/MM/yyyy”, ”GTM+1”)}} - start of the next year

End of Year

{{date.endOfYear(0,"dd/MM/yyyy”, ”GTM+1”)}} - end of the year

  • {date.endOfYear(-1,"dd/MM/yyyy”, ”GTM+1”)}} - end of the previous year

...

  • prevWebhookData.headers

  • prevWebhookData.body

  • prevWebhookData.responseCodecode

e.g. If your previous webhook returns a list of versions you can access it via

...

The headers could be added in Key-Value format. Multiple headers are supported.

...

You can also use variables to define headers keys and values (e.g. use authorization ticket you received with previous request).

...

🤖 Action>Invoke Jira Automation

...