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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

161 views 0 4
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