Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger API to SAP from Jira

Ward Schwillens_ Schwillie
Contributor
November 21, 2018

I need to be able to trigger an API from Jira that uses Jira custom field data to as a key value in the API to SAP.

This should be idealy done when transitioning an issue in a workflow or simply (if possible) just by checking a checkbox custom field in an issue. 

What is the best way to do this?

Some options:

- trigger a C# program on my application server

- write a record into an SQL DB, used by a service running on my Application server

- ...

 

1 answer

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 21, 2018

Doing this on a transition is the best option - you can set up post-functions, scripts, automations or webhooks based on those.  (Just an edit to an issue requires that you do it as a listener, which means a bit more work, but the same basic idea).

A webhook is the only one that won't require coding - as you go through the transition, Jira can poke a remote system with a url you build from data on the issue.  The other methods are going to need you to write code that do whatever SAP needs it to do to get the update.

Ward Schwillens_ Schwillie
Contributor
November 22, 2018

Hi Nic,

thank you for your answer. Setting these post functions, scripts, automations and webhooks, does this require additional add-ons? 

Do you have some specific how to articles you can share on the subject? 

Thanks again for your feedback!

ChristopherChilds
Contributor
April 29, 2025

late answer but you will be requiring Scriptrunner to write these scripts.

Suggest an answer

Log in or Sign up to answer