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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We do have the same requirement, is there any documented approach or process as how a Jira application(anything core app, sd, software) talks to database stored procedures of external database server.
We have lot many procedures to be called upon and take results and make the appropriate changes to the Jira workflow process.
we do have script runner from adaptivist. we do not want to split the code base into different post functions, some generic way??
any documented way ? really appreciate it.
Thanks advance..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.