Specify the JQL search on JIRA instance. For a build, Jenkins will run this query, populate a drop-down list box, then ask the user to select one.