Hi everybody,
i'm using clones issue and links post function from groovyrunner plugin. I want to pass the issuekey in the summary of new linked issue.
In additional issue actions field i have the following
log.warn("key: " + issue.getKey())
But from logs i see that i get a null value.
Any idea how can i get the issue key?
Thanks in advance
try:
transientVars["issue"].key
This should give you the key of the issue that you are cloning from.
That's it.
Thanx a lot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What if you wanted to get the key of the issue you have just created as result of cloning? That is, the new issue key?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In recent version it's available as *sourceIssue*
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When I try to access this I get a null pointer exception log.debug("DBG: issue key is " + transientVars["sourceIssue"].key)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Brian - what version of the plugin are you using?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.