Hi.
I need to use in a condition a script that detect the current project.
I don't have a specific reference issue to get the project, cause I need to check in filters and panels screens to.
Is it possible?
Hi @Alex Sander
In your description, you mentioned:-
I need to use in a condition a script that detect the current project.
I don't have a specific reference issue to get the project, cause I need to check in filters and panels screens to.
Have you tried using ScriptRunner's HAPI feature?
Using HAPI, you can invoke the Projects object, iterate it and invoke the details of the project(s) you want. Something like:-
Projects.allProjects.each {
if(it.name == "<Some Name>") {
//do something
}
}
I hope this helps to solve your question. :-)
I am looking forward to your feedback.
Thank you and Kind regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Alex Sander
Has the solution I provided answered your question?
If yes, please accept the answer.
Thank you and Kind regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.