• 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
Community showcase
Published Nov 29, 2018 in Jira

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,084 views 0 8
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