Populate Dynamic Dropdown in Tempo Worklog

I want to create a Worklog attribute using a Dynamic Dropdown. I need to have the user select from a list of options that would be displayed in the Dynamic Dropdown. This list will vary from one JIRA project to another. The idea was to take the issue key of the issue where the work was being logged, pass that to a function. That function would then be able to parse the issue key, determine which project the issue is from and be able to switch on the project to identify the list of options that should be displayed in the Dynamic Dropdown and return that list. From reading the documentation, it seems that in order to do what I need to do, we have to create an external Service - JSONP web service and use a callback function to populate the list. This seems like a lot of work to fill a simple dropdown list. Is there another way to accomplish this? If so, can someone provide example code on how to do this not using the webserivce? If I have to create a web service, is there an example someplace of how to create such a web service on a Linux machine and how to create the callback function? I have read the Tempo documentation and honestly it is pretty sparse. Can anyone supply example code where they have done something similar?

1 answer

Hi Troy,

we would need some more information about this. Can you create an Issue in our Tempo Support ( https://tempoplugin.jira.com/wiki/display/JTS/Getting+Help+and+Support ) so we can better follow up on this. 

You might be able to solve this with a script, but this depends on the data that you need to return in the dropdown and the number of Projects. So any added information is appreciated.

Regards,

Susanne 

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 yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

365 views 4 10
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