Forums

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

Search for text in version name

Krishnanand Nayak
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 26, 2018

How do i change this code to search for the "HF" in the version name? Currently we are have hard coded it, but want to make it generic

issue.fixVersions*.name.contains("2018.21-SP3HF")

 

1 answer

1 accepted

0 votes
Answer accepted
Ivan Tovbin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 26, 2018

Hello,

Create a regex which satisfies your requirements and match your fix version value against it.

Suggest an answer

Log in or Sign up to answer