• 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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,794 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot