Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Current Issue Project Name or Project ID using Groovy (Better Excel)

Sara Jensen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 9, 2018

 

 

Hi, I'm trying to filter out an SQL statement and for part of this I would like to get either the project key or the project ID (it will replace part of the SQL statement so I don't get all projects).  I'm doing this in Groovy, in the Better Excel plugin.

I've looked at their documentation, but haven't been able to find exactly what I am looking for.  I think that it should be the same as being on an issue page, and calling a script in Groovy that would get that information via the issue object. 

I've tried some of the other code around here that was meant for transitions in workflows but it doesn't seem to work.  I think the code should be the same as scriptrunner would, because it uses Groovy. Could anyone provide some pointers?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events