The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

Is it possible to have multiple rest-api calls for a single field using Elements Connect?

venkatesh_rajput
May 12, 2023

I have multiple environment APIs and I want to extract the department names from all those APIs but then I will have to create 12-13 data sources and 12-13 custom fields whereas I want all the values in one field and on the basis of what the user selects I can filter out the options using Behaviours so is there a way I can have all 12-13 data sources value in one elements connect custom field?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Simon Laffont
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
May 12, 2023

Hello @venkatesh_rajput

I am part of the Elements Connect support team.

Unfortunately, a Connect field can only be connected to one datasource at a time. It's therefore not possible to gather data from several datasources into one single field.

To do this, you need to:

  • Create one Connect field per datasource. These connect fields could be a hidden, so users will not see them.
  • Create another Connect field which depends on all the other fields and in which all parent field values are collected.

But beware of performance problems. Running multiple queries to retrieve all possible values and group them into a single field could be cumbersome and impact Jira's performance.

Could this meet your needs?

Kind regards,
Simon.