Accept multiple inputs from customfield searcher

Trace Pillars May 8, 2014

I am writing a customfield that extends GenericTextCFType and also a searcher that extends AbstractInitializationCustomFieldSearcher. I would like to be able to have the user enter two inputs via the search.vm view. I cannot seem to make this work, how do I specify to jira or velocity what type of input to look for when the user hits the "Update Button", on the search menu?

This is what the end goal looks like

I am able to modify the velocity template to display two input boxes but I am not sure how to actually tell my plugin to retrieve both inputs.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Frank L. October 1, 2014

Have a look at https://bitbucket.org/mdoar/webwork-sample/overview. You need getters and setters for the variable of the text input field and you have include your input fields in a html-form; then you have to submit your text input fields via the HTML-input-element of the type submit.

TAGS
AUG Leaders

Atlassian Community Events