Hi
I wrote a scriptField that display last comment and named: "lastComment";
and now I want return issues that have "xxx" in last comment.
for example :
In advance search ; user wrote : " lastComment ~ "xxx" "
I dont know how do I find "xxx" in any search ?(I used lastComment.getBody().find() , but how do I get search expression from user.)
"xxx" is expression that user searched and can different.
thanks
Hi
Assuming you've got the Scriptrunner plugin, how about this?
issueFunction in issueFieldMatch ("project=ABC", "lastComment", "xxx")
I used this jql, but not worked!
It can't find a text in last comment field(Script field)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi MG
Did you update the “project=ABC” part of the query to something that works for the set of issues you want to search?
Neil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi MG
Not sure how much I can help.
This is an example from our Jira system with real data:
issueFunction in issueFieldMatch ("project=MED", "Build Targets", "process")
This works fine, bringing back all issues in the MED project that have "process" in the field "Build Targets". This is a Text Field (multi-line) custom field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.