This function converts the first letter of all whitespace-separatedwords in the given text to uppercase.
capitalizeWords(text) #Output: Text
Parser expression
Description
capitalizeWords("heLLo WORLD!")
This example returnsĀ "HeLLo WORLD!"
capitalizeWords("jira workflow toolbox!")
This example returns "Jira Workflow Toolbox!"
Parameters used in this function
Parameter
Input (data type)
Description
text
Any given text.
This function returns a
Use cases and examples
Parser function cloud
Map
Notes
Workaround
let words = issue.summary.split(" ");
words.map(w=>w.split("").map(c=>w.indexOf(c)==0? c.toUpperCase(): c)).join().replace("\[", "").replace(" ","").replace(",","").replace("\]"," ")
This expression converts the phrase into a list of char lists of each word, and then it converts to upper case every first char of each word. Then it converts it again into a string replacing the brackets and commas.
Status
Tech review
Style guide
Short description
Capitalizes a text, only updating the firstletters.