Hi,
I have 3 groovy scripts- A, B and C
1. "A" calculates certain values and puts them into an array
2. "B" takes those values as inputs from A and connect to an external database and returns a value
3. "C" takes that return value from "B"
As of now, I have hard coded the values in each of the script to develop and test. However, in real time, I want them to be one script with the above dependency in place.
How I can combing them under one script? This script then will be added as a post function in JIRA.
Please help.
Thanks,
Nishant
You can create a function for each script and then call this function into requared order. For example:
function_C( function_B (function_A() ) )
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.