Problem with dynamic Drop Down

Hi,

I made a dynamic drop down list, where our users have so select 1 of 4 choices.

But to make things easier I thought I could create a pre-selection, because in about 95% of the cases it is the same value for one ticket. So if the user selects a value in our custom field "billing type", I want the value being preselected in the "billing type" attribute in the worklog entry.

So far this works fine, but my problem is, when there is no billing type selected in the ticket, I do not get anything to select in my dynamic drop down. Therefor I am not able to select a value because there are no values.

I tried to call my url which builds the js for the dynamic drop down directly with, without and with invalid values in my request parameter, and it returns the correct js function.

After that I traced the requests in tamper data, and when there is no value selected in the ticket, my dynamic drop down URL is not even called.

Is it possible that this is a bug in Tempo-Plugin or am I doing something wrong?

regards, Manuel

1 answer

1 accepted

This widget could not be displayed.

Hi Manuel

the dynamic dropdowns are indeed implemented this way. If the dynamic dropdown has a custom field parameter, the request is not triggered if that custom field is not set.

What you can do instead is to use the IssueKey parameter and in your service implemention decide how to handle the empty customfield in the Issue by returning the whole list of choices.

Kind regards,

Kristín

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

531 views 3 19
Read article

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