I am attempting to hiding two panels from the Kanoah add-on on all issues except "Story" and "Epic". The two panels are NOT being removed whenever I open an issue from a link inside JIRA.
The panels are being removed when:
I know the JS is firing every time since the "announcement-banner" remains hidden.
Any guidance on a solution for consistent behavior?
<script type='text/javascript'> AJS.toInit(function() { AJS.$("#announcement-banner").hide(); var issueType = AJS.$.trim(AJS.$("#type-val").text()); if(!(issueType == 'Story' || issueType == 'Epic')) { var panelTestKanoah = AJS.$("#test-manager-issuepanel"); panelTestKanoah.remove(); var panelTestRunKanoah = AJS.$("#test-manager-issue-test-run-panel"); panelTestRunKanoah.remove(); } }); </script>
Hey Peter,
Found you here
This feature has been launched on the latest version (v2.3.0) of Kanoah Tests. You can configure which issue types should display the panels or not. Check out the release notes.
screenshot_v.2.3.0_1_small.png
Hope that helps!
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.