For one of the client filter, we need to find all the summary that start with "URGENT>". There are 2 problems, one is that if I do contains, it find everything that has the word "URGENT" and 2) I cant seem to figure out how to force the > character.
ANyone has any idea/
Thanks!
I'm afraid I haven't got very good news for you here...
We use Lucene indexes to store the values for searching. When Lucene indexes a field it uses an analyzer to inspect the text and then decides how to tokenise the values. There are a wide range of analyzers and each field uses a different analyzer depending on its configuration. Summary is seen as a text field, so when the Lucene analyzer tokenises URGENT> , it will store this in the index as URGENT, as it decides the > is not important - so it's not stored, so you can't search for it.
If it was stored in a custom field that used a different analyzer then to search for it you would escape the > using unicode so \u003E, but as I say for summary you are out of luck.
quick question- what if we change the source code? Is it built in to the core taht we cant fix it in any way?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Its a huge and ugly work-around but I guess you can automatically store, and keep up to date, a summary's value on custom field with Copy Value From Other Field Post-Function from JIRA Suite Utilities Plugin.
You just have to avoid users directly edit summary field and make they search in this new custom field...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The moment I saw James's response, I thought of that, but as you have point out, it is not only ugly, it just building up the maintenance for our admins, which is a lot already.
I am guessing that Atlassian wont be fixing it any time soon, so I just have to tell my team to deal with it...
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.
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.