JIRA AUI / AJS script not loaded and field not searchable

I got two serveral questions about the Atlassian JIRA SDK Api.

1.) I have a working Version Custom Field Type - but - I did not get it searchable. I read the j-tricks article but for me it doesnt work. I always get exceptions. (i am extending abstractMultiCFType - i heard that it maybe works with abstractsinglefieldtype?)

2.) AUI / AJS: It seems that if you open the create issue dialog and _then_ change the project to the one with your customfield on it, the ajax doesnt affect the dom element at all. if you close the dialog and reopen it, the ajax works (=> i have a select-tag with some options. first its like a normal select-tag although i used:

	(function($) {
		AJS.$("#$cid option[value='-1']").remove(); //Removes the default value "None"
		function convertMulti(id){
			if (AJS.$('#'+id+"-textarea").length == 0){
					new AJS.MultiSelect({
						element: $("#"+id),
						itemAttrDisplayed: "value",
						errorMessage: AJS.params.multiselectVersionsError
		JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e, context) {
			AJS.$("#$cid option[value='-1']").remove();


1 answer

i am not sure about searchable custom field type

coming to javascript, you have to load it as a webresource module

check this


Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,277 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot