Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,360,490
Community Members
 
Community Events
168
Community Groups

Create a Jira multi select field which loads a list of options from REST API dynamically

Hello All,

I have 4 different Jira instances. I use one Jira instance to manage project changes. So I need a way to get all projects names from 3 different instances into one.

Ex scenario: User selects the "Instance A" from the Jira Instance field & I want to make a REST call/mysql query to that instance and get a list of projects & display that in the Jira Project/s field which is a multi select field. 

Jira Instance: 

    Instance A

    Instance B

    Instance C

Jira Project/s:

    Project AA

    Project AB

    Project AC

 

I tried using nfeed. With that I need to have 4 different fields for each instance because one REST call per instance can only be mapped to one field. I cannot associate one field with multiple data sources. 

Anyone done something similar ? Any ideas on how to get all these data into one field ?

Any thoughts & advise appreciated.

 

NOTE

As of now we are using a text field to capture this project info but we need a dropdown field to capture these & report on them. We have so many projects in each instance and we do not want to create a custom field and manually manage them.

 

Thanks in advance.

 

      

3 answers

Hello  Kumar,

 

Did you get any answer for it, i am stuck in kind of similar issue like this one

 

Regards

VG

Hi @Andrian Fernandopulle , @Thomas Deiler  am using <aui-dropdown-menu> in my plugin. problem is i not able to get value from select value from drop down. jira by default they given option of value in aui-item any suggestions.

Thanks in advance.

0 votes
Thomas Deiler Community Leader Feb 10, 2019

Dear @Andrian Fernandopulle,

query all three instances for the list of their projects. Then rebuild you multiple select list on you target instance with "Custom Fields++", which will allow you to set and modify the options of that field. Wrap a cron around rebuilding the options twice a day.

So long

Thomas

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

196 views 1 6
Read article

Atlassian Community Events