issue.getProjectObject().getID()
should do it. Of course, it depends on where you're running it - I've assumed the script has an issue in mind (a post-function, condition or validator for example)
Hello,
You can get the project id of an issue like this:
issue.getProjectId()
Regards,
Elifcan
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.