This function returns the day of the week of any given timestamp in text form.


dayOfTheWeekToString(timestamp, timeZone, language) #Output: Text



Parser expressionDescription


dayOfTheWeekToString({issue.dueDate}, LOCAL, USER_LANG)


This example returns the day of the week as text.

If the due date was set to March 25th, 2020 23:15 and the user's Jira language was set to English, the output would be Friday.




Parameters used in this function

ParameterInput (data type)Description
timestamp

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

The time zone used for the calculation. 

language

The language used for the calculation.



This function returns a


If you need the day of the week as a number, please see dayOfTheWeek().



Use cases and examples



Parser function cloud
Map(question)
Notes

Workaround

%{getMatchingValue(dayOfTheWeek({issue.created}, RUN_AS_LOCAL), [1,2,3,4,5,6,7],["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"])}

Not with Jira Expression, but we can achieve it with our Parser Expressions.






Status
Tech review

Style guide




Short description

Returns the day of the week of any given timestamp in text form.

Output

Label