Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


UI Text Box
sizemedium
typeinfo

This function returns a number between 0 and 100 representing the percentage of similarity between two texts based on the Jaro Winkler similarity algorithm.


Code Block
languagebash
titleSyntax
linenumberstrue
similarity(text1, text2) #Output: Number


UI Expand
titleExamples


Parser expressionDescription


Code Block
similarity("JIRA Workflow Toolbox", "jira workflow toolbox")


This example returns the number 100


Code Block
similarity("JIRA Workflow Toolbox", "Jira WorflowTolbox")


This example returns the number 97


Code Block
similarity("ABC Corporation", "ABC Corp'")


This example returns the number 90


Code Block
similarity("Hello World!", "Bye bye World!")


This example returns the number 69


Code Block
similarity("I caught a lizard", "This is my giraffe")


This example returns the number 51



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
text1

Status
subtletrue
titletext

Any given text.
text2

Status
subtletrue
titletext

Any given text.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titlenumber
.

100 represents equivalence, and 0 represents zero similarity between two texts.



Image AddedUse cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Field type, Automated action, Parser functions
cqllabel = "parser_func_similarity" and space = currentSpace()


Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


Short description

Calculates the similarity between two texts.

Output

Status
subtletrue
titlenumber

Available since

Status
subtletrue
colourBlue
title2.2.29

Label