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

0 votes

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
Community showcase
Published 3 hours ago in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

44 views 0 1
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