Is it possible to navigate JIRA issues similar to the Actions menu with Auto Complete?

Fat Zebra July 29, 2013

I often find that I will use the quick-search tool to navigate to issues which I know the ID for (e.g. press / and then enter the key such as JIRA-123).

What I would like to know is whether there is any functionality like this, but something that possibly provides an auto-complete-like UX (similar to the Issue Actions menu loaded with the . key) where I can start typing in JIRA-1 and it will show me the issues matching this and also include the summary field?

3 answers

1 vote
Alexej Geldt
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.
July 29, 2013

Yes there is a multi select autocomplete IssuePicker in Jira you can use.

in javascript

AJS.$(function() {
	var ip = new JIRA.IssuePicker({
                  element: AJS.$("#textInputElement"),
                  userEnteredOptionsMsg: AJS.params.labelNew,
                  uppercaseUserEnteredOnSelect: true,
	});
});

in vm template

<input id="textInputElement" type="text" />

when the page loads the script becomes active, picks the textInputElement and turns it into an issue picker.

make sure the script is added to plugin webresources and that it is loaded into html. If it doesnt, give me a hint ill tell you what to do.

if you rather need a single select issue picker you have to make your own issue picker by extending JIRA.SingleSelect.

0 votes
Fat Zebra August 26, 2013

Just to clarify I am not really after anything for development, this is more for user-experience as an end-user.

0 votes
RambanamP
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.
July 29, 2013

you have to write your won issue picker custom field because as of now this feature not yet avilable on jira, check this

https://jira.atlassian.com/browse/JRA-10666

check the following plugin

https://marketplace.atlassian.com/plugins/com.mizan.issuepicker

or you can try with this plugin

https://ecosystem.atlassian.net/wiki/display/JTOOL/JIRA+Toolkit+Plugin

Suggest an answer

Log in or Sign up to answer