Is it possible to configure a JIRA custom field to show a list of selectable options which are populated by a call to external web service using Scriptrunner? I am basically looking to make a call to a SOA rest api which will return a list for the user to select from. This will then in turn populate my custom field... I am new to Groovy so any examples would be appreciated. Thanks :-)
Hey Stephen!
If I'm understanding you correctly, then I believe you could accomplish this with a Behaviour and a select list conversion. We have some examples and further documentation on the process here.
Let me know if that looks like it'll work for you or if you have any questions!
Best,
Aidan
reply to follow
Hi Aidan, thank you for your response...I have tried this script and manipulated it to my URL etc but i am seeing a couple of errors... the first errors tell me that the uri.path, headers and response.failures variables are undeclared... Am i missing part of the script? any guidance appreciated, thanks
Hi Stephen,
I think these are just static type checking errors. Does it work if you save it and run it?
Thanks,Adam
It looks like you're new here. Sign in or register to get started.