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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

143 views 0 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