Hello Jira community,
To be blunt i dont want to discuss if thats the best approach - its a hellish thirdparty migration topic i just want to get done with.
I have recently encountered an interesting behavior in my Jira Automation rules, and I was hoping to seek your insights on the matter.
Here is the snippet of the code in question from my automation to make more clear what i have a problem with:
Other Information Contains Winline:{{issue.customfield_12028.value.join(",").remove("[").remove("]").replace(", ",",").split(",").lastIndexOf("Winline Zugang / Winline Access").gt(-1)}}
Other Information Contains Git:{{issue.customfield_12028.value.join(",").remove("[").remove("]").replace(", ",",").split(",").lastIndexOf("Git").gt(-1)}}
Issue Description is not empty:{{not(issue.description.isEmpty)}}
Is Value of "Issue Description is not empty" same as "Other Information Contains Winline": {{equals(issue.customfield_12028.value.join(",").remove("[").remove("]").replace(", ",",").split(",").lastIndexOf("Winline Zugang / Winline Access").gt(-1), not(issue.description.isEmpty))}}
Upon evaluating the Smartvalues, I observed the following results:
I'm curious to understand if anyone else has encountered similar behavior and if there are any suggestions or insights into why the last comparison might be evaluating to false since it compares true to true
Looking forward to your thoughts and experiences!