We can enable or disable GreenHopper on JIRA.
When GreenHopper is invalid, all projects of JIRA is not shown Agile menu.
We hope the following.
For example, A-project uses GreenHopper, but B-project does not use GreenHopper.
Can we use GreenHopper depending on the JIRA project?
This came from a support case Miyako raised with us, and has been directed towards Answers as he's looking for a modification to JIRA. To clarify, Miyako would like to hide the Agile button for certain projects. You can do this with a modification to the Announcement Banner to include some JS along the lines of the following:
<script type="text/javascript"> window.onload= function() { document.getElementById('greenhopper_menu').parentNode.style.display = 'none'; } </script>
There would need to be some validation in there to determine when to hide that element which could be determined by the current project key. I'm not quite sure how to fetch this with JS however hopefully this will push you in the right direction.
Extending what Dave said
<script type='text/javascript'> AJS.$(document).ready(function() { var projectName = AJS.$("#project-name-val").text(); if(projectName != 0 && projectName != "Test Project") { AJS.$("#greenhopper_menu").hide(); } }); </script>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
yes, you can enable GreenHopper either for all projects or for some projects only. Look at the administration part of Jira: GreenHopper -> Activated Projects
Cheers
Thomas
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.