In JIRA 5.0.5 how do I remove the Build and Release option available in the manage versions dropdown menu

In JIRA 5.0.5 how do I remove the Build and Release option available in the manage versions dropdown menu

1 answer

This widget could not be displayed.

You will have to modify the jira-project-config bundled plugin and remove the web-items for release operation. See this link for some help on editing bundled plugins : http://www.j-tricks.com/1/post/2012/05/modifying-atlassian-bundled-plugins.html

Thanks for the quick reply Jobin. I was able to extract the plugin jira-project-config. But was not able to find the web-items that you have mentioned above. Please let me know the location of this file. Is it a vm file?

Hi Jobin,

Please help me out here..

Did you try the one wirh key "view_project_release"?

Jobin,

Thanks. I have done as you instructed but it still displays the "Build and Release" option under version. Please let me know what else can I do?

What it does it removes the release option but the Build and Release option still displays.

Amit.

Are you sure you didn't modify it in the extracted directory, but modified it in the plugin in the zip under WEB-INF/classes?

These are the steps that I followed:

1. Copied the zip file "atlassian-bundled-plugin" to a different folder and extracted it in that folder

2. Extracted the jar "jira-project-config-plugin-5.0".

3. Made changes to the file "atlassian-plugin.xml" by removing the following piece of code:

<web-item key="view_project_release" name="Release Version Operation"

section="atl.jira.version.admin.operations" i18n-name-

key="admin.project.com.atlassian.jira.projectconfig.versions.operations.release"

weight="10">
<label key="admin.manageversions.release" />
<styleClass>project-config-operations-release</styleClass>
<!--This is a trigger for javascript so we don't want a link but this is a required element-->
<link></link>
<conditions type="AND">
<condition class="com.atlassian.jira.plugin.webfragment.conditions.IsVersionArchived"

invert="true"/>
<condition class="com.atlassian.jira.plugin.webfragment.conditions.IsVersionReleased"

invert="true"/>
<condition

class="com.atlassian.jira.plugin.webfragment.conditions.CanAdministerProjectCondition"/>
</conditions>
</web-item>

4. Recreate the jar "jira-project-config-plugin-5.0" with the modified file "atlassian-plugin.xml".

5. Recreated the zip "atlassian-bundled-plugin" with the modified jar "jira-project-config-plugin-5.0".

6. Placed the zip file at the location WEB-INF/classes.

7. Restarted JIRA service.

What this did was it removed the "Release" option but the "Build and Release" option was still visible.

Please let me know if I had gone down the wrong lane.

Thanks.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 30m ago in United States

Local Atlassian Research Workshop opportunity on Sep. 28th

We're looking for participants for another workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sh...

8 views 0 0
View post

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