CreateProjectFromTemplate exception

Hi

assignee = (User) coreInfoIssue
.getCustomFieldValue(componentManager
.getCustomFieldManager()
.getCustomFieldObjectByName(
CnBWorkflowConstants.CUSTOM_FIELD_CHIEF_PROJECT_MANAGER));

project = ProjectUtils.createProject(EasyMap.build("key",
newKeyValue, "lead", assignee, "name", newKeyValue
+ " " + issue.getSummary(), "description",
issue.getDescription()));

When ever i tried to create project as an Admin i am able to create the project but when ever i am trying to create a project from template as a user i am getting the following exception.....



2012-02-09 12:40:21,910 http-9090-8 ERROR kalyan 760x153x1 1azns0t 127.0.0.1 /secure/WorkflowUIDispatcher.jspa [workflow.function.createproject.CreateProjectFromTemplate] CreateException Occurred :com.atlassian.jira.exception.CreateException: Errors: {}
Error Messages: [You must have global administrator rights in order to modify projects.]

I should not give the admin permission to the user .so pls give me a solution

Regards
Naren

1 answer

Hi Naren,

You can use this plugin (https://marketplace.atlassian.com/plugins/com.topmanage.jiraplugins) to create a project from template.

Best Regards,

Oğuz Kağan Aslan

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Friday in Off-topic

Friday Fun: Riddle me this

Happy Friday, Funmakers! We had a Community Team offsite in Austin this week, and my mind feels primed for thinkin' from all the brainstorming we did!  So, this week's Friday Fun thread w...

144 views 19 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you