Populating Custom Field Drop-down With JSON Data

Hello Atlassian Community.

I would like to achieve the following, your help is needed and welcomed.

We use BuildBot for our build-system and management. One of the neat features of BuildBot is, that it offers an API printing (fairly human readable) text output. Sample output below:

  "dir": "TestBuild1", 
  "cachedBuilds": [

That said, I would like to grab data from that respective output and auto-populate a JIRA drop-down during bug/issue creation.

Data represented is in a numbers-only format which never shows more that 10 new values.

Furthermore, I would like to achieve this without the use of paid plug-ins. The most notable is nFeed, which would break the budget for this venture.

Thanks in advance!

2 answers

This widget could not be displayed.

You may create your own plugin which will contain customfield with ajax query to data you need.
Examples of customfield plugin you can find here or in Jira Development CookBook
Format of example output is JSON, ajax support this. Here I described how to do AJAX call. https://answers.atlassian.com/questions/157639/ajax-calls-to-jira-from-custom-field

Except this you need some javascript to show your data.

This widget could not be displayed.

Is there a way to use script runner to accomplish this?

Hi Melissa,

I'm curious to know how you solved your problem. Did you use ScriptRunner?


We ended up using a plugin of our own development. We were repeatedly running into issues with our tomcat accepting scriptrunner's requests.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Statuspage

What are your best incident management tips and stories? #HugOps

 👋Community members! Downtime happens. And great incident response takes a village. Teams like Support, Dev, SRE, Ops, IT, and Marketing have to come together to resolve the problem while keep...

71 views 2 3
Join discussion

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