It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Nic Brough Community Leader Dec 28, 2017

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 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 ...

1,076 views 7 0
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you