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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

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

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
TAGS

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