In our project, we have issue with summaries of the following structure:
ABC-DEF-XY001-ZZ01 Issue summary
I'm trying to search for the substring "XY001" but I cannot make it work.
As I cannot use "*" at the beginning of a word, I was trying to go with
summary ~ "ABC*XY001*"
But this is not working. I get no result.
Even
summary ~ "ABC-DEF-XY001*"
is not working
As I don't know the last part of the word, the "ZZ01", upfront, I cannot search for the entire word "ABC-DEF-XY001-ZZ01".
When I was trying around a bit with the search functionality, I found out that
summary ~ "ABC-*"
returns an empty result, whereas
summary ~"ABC*"
returns my issue.
Is there an issue with the "-"? Do I have to escape this somehow?
I was reading the search syntax for text fields, but could not find anything.
Can you help me find the "XY001"?
Kyle is right that there is a bug with this. Though if you are looking for a new add-on, I think ScriptRunner could accomplish this.
issueFunction in issueFieldMatch("project = JRA", "summary", "ABC\\-DEF\\-XY001\\-*")
We are in the lucky position, that we have ScriptRunner installed already, so I have just tried it and it is working fine. Thanks for your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try escaping the dash using "\\-"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately it is not helping.
I tryied
summary ~ "ABC\\-DEF*"
but I still receive an empty result. :-(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have bad news: https://jira.atlassian.com/browse/JRASERVER-33306
Looks like it just won't work. It is a shame.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is bad news indeed. Thank you anyways for your support.
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.