Is there a way to execute a stored procedure from JIRA to an external database?

We want to create a record in the external (not JIRA) database based off of a field in a JIRA issue. It is a simple SQL statement that would take user information and add it to the external database when an issue is submitted for new user/employee setup. We currently use the Database Custom Field add-on to pull a dropdown list populated by data from the external database but we cannot identify a way to write data back to the database.

1 answer

In a workflow post  function, we need the ability to run an SQL execute statement to execute a stored procedure on a database other than the JIRA DB. 


Example:  on the transition of a UA – New User item from ‘Open’ to ‘Account Creation’ we need a post function that will execute a script similar to this EXEC MyServer.MyDB.dbo.MyStoredProc @Param1, @Param2

hello I have the same problem,

i need to run an oracle store procedure from JIRA, but i dont understand your post, please, can you tell me where exactly i must put the sentece that you describe above, and please explain me all the parameters that you use

XEC MyServer.MyDB.dbo.MyStoredProc @Param1, @Param2

even de reserved words

thank you so much

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,307 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot