monthToString()

This function returns a text with the name of the month for a given date-time, in a certain time zone, and in a certain language.

Bash
monthToString(timestamp, timeZone, language) #Output: Text

Examples

Parser Expression

Description

Bash
monthToString({issue.created}, LOCAL, USER_LANG)

This example returns the month of the issue creation date as text.

Given an issue that was created on March 25th, 2020 23:15:30 and the user's Jira language being set to English, the returned value is March.

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

timestamp

number

The parameter must be valid timestamp. Usually this value is retrieved from a field (e.g. due date, created date).

timeZone

timezone

The time zone used for the conversion. 

language

Language

The language used for the conversion.

Output

This function returns a text


(books) Use cases and examples