Hi,
My organisation needs every new project to "include" a few standard issues. I was looking for creating these via scripts.
For this i have in PowerScript created a listener for the Project Created event and made a script to create issues on this script.
This works fine when a project is created manually via Jira.
The problem is that when creating a project via a script run from SIL gadget runner it does not. I do not know if the event is not raised/ catched? As i can read in the Logs the event is not raised as it is by doing it manually.
Any ideas is very appreciated.
We specifically prevent events from such routines. Why create a script in which you create a project, and in the listener you add code to create more issues? The normal approach would be to create the project and create the issues in the same script....
We could improve those routines to allow the event to be triggered, if you really need it.
Best Regards,
Radu
Hi Radu,
Thanks for your reply.
I have created a way for this to work via 2 function scripts and 1 caller script with parameters. So now the project and issues "are created in the same script".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Do you create a project with the admCreateProject routine?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes that the routine i use.
admCreateProject(pkey, pname, description, lead, url, categoryName, defaultIsUnassigned, avatarId, projectTypeKey)
/Dennis
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.