How to get values into select field in plugins UI from customizable class

We are trying to get some values in drop down field. We want these field selectable. for eg: version We have also created a class for fetching version values but we are getting null values. Here the values are passed from Project manager but we are not aw

1 answer

0 votes

It's not too hard to get a list of versions available for a project, but you've not really given us the context in which you want to do this, or what your code does.   Could you expand on this a bit?

We are creating a custom report plugin.We want to fetch the versions of the project in the select field (plugin.xml) of plugin UI and pass the selected values to java class

My best guess is that you've set up the parameter options something like Filter to report on Project Version The problem with that is the page is static - when you select "project", that's fine, but the data is not sent to JIRA until you commit the page. So your code has no project to work with to determine which versions to show, and hence just comes back empty. Does that sound like what is happening?

Yes this what happening We want to fetch the versions of the project in the select field (plugin.xml) of plugin UI Can you please suggest the way to do this?

Any update on this?

I think you're going to have to code a project/version picker class to do 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,101 views 13 19
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