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

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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.

 

      

2 answers

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

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

3,996 views 11 5
Join discussion

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