Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across Jira Cloud instance.   📢 Get y...

163 views 7 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you