Using Jira Service Management we would like to offer a "self service create new project" to our internal employees. For this specific use case we defined a jira project to act as the standard template. Employees should be able to enter the project name, KEY and project lead into the request form. This would then trigger an automation to create a new project sharing all configuration schemes from the template project. Possible?
Thank you in advance!
Hi David,
At the moment, this isn’t possible without using plugins and/or making API calls.
With API calls, you can automate the creation of a project, but it’s not possible to directly copy a project template — you can only reference the schemes (like workflows, permissions, etc.) from another project. You can find more details in the API documentation.
On the other hand, plugins like Deep Clone for Jira might allow you to clone template projects. I’m not 100% sure, as I’ve only used the app briefly.
Let me know if you need help exploring either option!
Thanks!
As you can see in my reply to @Vitalii Rybka , I've hit some brick wall with service desk projects. I will definetly look into Deep Clone, but was hoping to do this without apps for once ;-).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey David! I've actually built something similar for our team and can confirm what David said about the API approach.The API route definitely works but requires some setup. What I did was create an automation in JSM that triggers a webhook to a simple script when the form is submitted. The script uses the Jira REST API to create the new project and copy over the scheme configurations from your template project.One thing to watch out for you can reference existing schemes, but some project-specific settings like dashboards, filters, and custom configurations won't automatically carry over. You might need to handle those separately.If you're not comfortable with API calls, I'd also suggest looking at ScriptRunner for Jira. It has built-in post functions that can handle project creation and might be easier than writing custom scripts.The Deep Clone approach Deivid mentioned could work too, though I haven't used it for this specific use case.Happy to share some example code if you decide to go the API route - it's actually not too complex once you get the authentication sorted out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Vitalii Rybka ,
thank you for your response. Meanwhile I figured out how to use the send web request action within the automation rule to create a project. Step 1 - yeah! But here is my problem now: We are trying to create a service desk project and try to imitate the exact behavior as using the GUI and setting the "Share settings with an existing project" checkmark. I manage to create the project, put I can not modify it, for instance associate a different workflow scheme. I asume it is something special related to service desk projects, but can't find the right documentation.
Yes, please share some example code. Much appreciated!
Thanks,
David
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.