use jira rest api to call external web service to populate custom field without using scriptrunner

We want to create an issue with various custom fields, that would all be list fields (single or multi select), with the data coming from an external database.  Is there a way to use the JIRA Rest api to call a web service that will return the data from the database and populate the custom fields.  We are using .NET. Can this be done just by hooking into the Jira api?  Has anyone done this?  I do not want to use Scriptrunner.

1 comment

You can't do it.  The data held in list fields is options, held in the Jira database. 

Two approaches

  • Copy the data from the external database into the list of options
  • Use one of the database field add-ons to pull from the external database

Either way, the REST calls then become standard "change data in custom field" calls.

Thanks for your response.

Copying the data from the external database into the list of options is not a viable option as the data in the external database is constantly changing.

in regards to the database field add-on are you referring to something like nFeed?  Can you please elaborate on this option?  Thanks!

Thanks for your response.

Copying the data from the external database into the list of options is not a viable option as the data in the external database is constantly changing.


in regards to the database field add-on are you referring to something like nFeed?  Can you please elaborate on this option?  Thanks

Comment

Log in or Sign up to comment
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

156 views 1 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