Issue Details (XML | Word | Printable)

Key: JRA-8920
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Sam Chang [Atlassian]
Reporter: jeanette
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JIRA

Permission Scheme will not be set to default permission when importing project via jelly tags

Created: 03/Jan/06 06:15 AM   Updated: 30/Jul/06 07:37 PM
Component/s: Jelly
Affects Version/s: 3.4.2
Fix Version/s: 3.5

Time Tracking:
Not Specified

File Attachments: 1. File CreateProject.class (5 kB)

Environment: IE, Windows, Mysql

Participants: jeanette, Mark Chaimungkalanont [Atlassian] and Sam Chang [Atlassian]
Since last comment: 2 years, 35 weeks, 1 day ago
Resolution Date: 03/Jan/06 11:03 PM
Labels:


 Description  « Hide
Permission Scheme will not be set to Jiras default permission scheme when importing a project via jelly tags.
If I run the Jelly:

<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.JiraTagLib">
<jira:CreateProject key="CHI" name="Chiver AD" lead="admin">
</jira:CreateProject>
</JiraJelly>

The default permission scheme will not be set even though it's default.
I have many projects to add and it would take a lot of time to go through them all by hand.
Is there a way to force jira to set the default permission scheme?



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Mark Chaimungkalanont [Atlassian] added a comment - 03/Jan/06 08:25 PM
Thanks for the report. This is indeed a problem. We'll fix this up and provide a patch ASAP.

Sam Chang [Atlassian] added a comment - 03/Jan/06 11:49 PM
The patch has been attached, to apply the patch please follow the following steps

If you are using JIRA Standalone please do the following:

1. Download CreateProject.class
2. Copy CreateProject.class to <jira_install_dir>/atlassian-jira/WEB-INF/classes/com/atlassian/jira/jelly/tag/project/ overwriting the files there
3. Restart JIRA

If you are using the WAR distribution of JIRA:

1. Download CreateProject.class
2. Copy CreateProject.class to <jira_install_dir>/atlassian-jira/WEB-INF/classes/com/atlassian/jira/jelly/tag/project/ overwriting the files there
3. Run 'build.sh clean' on unix or 'build.bat clean' on windows
4. Run 'build.sh' on unix or 'build.bat' on windows
5. Redeploy the JIRA web app into your application server
6. Restart the application server