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 Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

222 views 6 0
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