little help with execute sentences SQL on JIRA

Hi every one

I need a little help, I must find a complement that allows me to execute sql sentences from jira

i mean execute insert, update, delete, etc.

I will be attentive to your answer

thanks so much

1 answer

0 vote

No, you don't want to do this.

It is ok to read a Jira database, but the database is designed as a datastore, not a reporting database.  This makes SQL the single worst possible way to read Jira data.

You must NEVER insert, update or delete, etc in a Jira database (barring bug fixes while the database is offline)

Forget the database.  Please tell us what you are trying to achieve and we'll be able to tell you how to do it in a better way.

you don't understand me, i 'm not using a JIRA data base, my company use SQL SERVER, that is the reason why we want to do INSERT, DELETE and UPDATE in our own data base, not on jira database

No, you are right, it was not clear, and I jumped the wrong way.

I would import a database driver, or even embed a new jdbc source in your Tomcat, then you'll be able to write code for using the other database.  I'd use ScriptRunner to do that, as usual.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

165 views 0 2
Read article

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