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

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

71 views 1 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