Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Would like to pass a value to a stored procedure using Groovy

Josh Simnitt
Contributor
December 9, 2020

I'm trying to run a stored procedure from within Jira, either as some type of button or a form that the user can select choices from which will be passed to a Groovy script.  The Groovy script contains a stored procedure that would need to take these values as arguments. 

Is there a way to do this within the  Jira UI by creating a script fragment or something similar?  I've tried creating a web item but haven't been able to figure out how I could pass an argument to the script.  If anyone has some pointers or suggestions I would like to know. 

I've ran the script itself with values in it within ScriptRunner console, so I know the script works with the example arguments.  

1 answer

1 accepted

1 vote
Answer accepted
Hana Kučerová
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 10, 2020

Hi @Josh Simnitt ,

it reminds me of Dynamic Forms, but probably it won't be enough...

Josh Simnitt
Contributor
December 11, 2020

Thank you, I'll look into that.

Josh Simnitt
Contributor
January 22, 2021

It worked for me 

Like Hana Kučerová likes this

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events