Customfield Searcher: changing displaying value

Andrey
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.
May 26, 2013

Hello, community!

I'm developing JIRA searcher now.
I have customfield wich stores ID of a value from Active Objects table. It was easy for me to set view of customfield as value, NOT ID on issue tab.
But what to do with searcher?
It's okay for me to search by ID, but the result of searching and label for stattable custom field need to be shown as a value.
I understand that I need to override a class which generates velocity params for label-searcher.vm and search.vm. Wat is this class?
Then everything is easy: Inject AO in constructor, get value via ID, add value to velocity parametrs.

1 answer

1 accepted

0 votes
Answer accepted
Andrey
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.
May 29, 2013

I did not expect it would be so easy! For label-searcher.vm i just needed to override two methods in custom StatisicsMapper.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events