Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×
In this line, you search all issues in TDT project.
def filter = "Project = TDT"
You can change like this. Then, you could look at the results size to see if there is any match.
def filter = "Project = TDT and summary ~ $summary"
BUT, searching exact string is not possible and you would probably face problems with this query. There is a ticket for exact-text searching in JQL JRASERVER-21372.
There is also the following function (comes with an add-on) which may allow you do exact search:
issueFunction in issueFieldExactMatch(subquery, fieldname, regexp)
Please take a look at this thread.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.