• 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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Posted yesterday in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

40 views 0 5
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