Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Como comparo el valor de un campo con todos los valores de otro campo con JMCF Jira

wenceslao_villegas
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 17, 2020

String A = issue.get("customfield_10236")
String B = issue.get("customfield_10236"), aqui iria el codigo para traer todos los valores que haya tenido ese campo

if (A == B)
{
return "Ya Existe"
}
else
{
return "No Existe"

1 answer

0 votes
David Fischer
Community Champion
June 17, 2020

Despite Google translate, I'm not sure I understood what you're trying to do. Are you trying to compare two different fields? Your example is accessing the same field twice...

Suggest an answer

Log in or Sign up to answer