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

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

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

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Agility Beta

We've moved!

A note to all watchers that we've moved to a new community home... https://community.atlassian.com/t5/Agility/ct-p/agility Please update your notification subscriptions to keep across the ...

56 views 0 2
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you