• Community
  • Products
  • Jira
  • Questions
  • Is it possible to run a scripted post function using field values in the script and returning a value from SQL or Oracle?

Is it possible to run a scripted post function using field values in the script and returning a value from SQL or Oracle?

This might be beyond the capabilities of JIRA, so before pursuing it further, that's what I'd like to try and find out:

 

Is it possible to create a scripted post function - I'm thinking it would have to be Jython or Groovy - that could query a SQL or Oracle database using username/password/dbserver info specified by a reporter from required Custom Fields and return a value from that database into another custom field?  It's essentially a data integrity check that could save 1.25 person hours weekly, and would be very slick if it could be automated through JIRA.

4 answers

Did I get it right. You want to have user/password/dbserver in a custom field stored? That sounds like a bad idea to me!

Yes, we already do this, it's database info for test environments, non-sensitive data only accessible internally. It's ticketing system for requesting test environments.

I think it is possible, you can do it jjython script

Hi - this is a plug, but hopefully a relevant one. Our add on is designed to let you run data checks against external databases, all from within JIRA.

Users specify the rules to be tested within JIRA, the results get recorded within issues, and alerts can get fired via comments. 

Please take a look at: https://marketplace.atlassian.com/plugins/com.businessdataquality.dataqa/server/overview to see if it does what you need. Feel free to message us if you want more information.

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 Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

197 views 2 11
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