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: 

How to set values for a Custom Field list as per an external data source ( JSON ) ?

Deleted user
July 10, 2017

Hello, 

 

( I am very new to JIRA admin ) 

 

The idea of what I would like to do is the following : 

- I have a list of values ( customers ) in an external app that I can acces through JSON

- I would like these values to autocomplete a field in JIRA Service desk ( Cloud ) + that to be in real time : as soon as a customer is added, it appears in the autocompletion. 

 

I have installed scriptRunner, but seriously lacking of practice with it.

 

Thanks for your help ! 

Simon 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Daniel Yelamos [Adaptavist]
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.
July 25, 2017

Hi Simon.

Yes this is possible. You would call your rest endpoint using something like what I recently answered in this question.

After that, in the response.success clause, you would load the JSON into a map with a JSON slurper, and then load it on the field as a list or a select, I suppose.

There is quite a lot of documentation on how to go about this, it isn't trivial, but it isn't very hard either.

If you have more questions let us know.

Cheers!

Dyelamos

TAGS
AUG Leaders

Atlassian Community Events