We want to restrict user to be able to Create Branch when the bug is in Open status or in Progress only. Is there any way to hide the Create Branch link for other statuses? I tried to inject some javascript into Announcement Banner but it doesn't work.
Thanks for any advice.
Hello,
Thank you for all your feedback and suggestions about this matter.
As we understand that this would be a useful feature for JIRA, we created the following feature request to get it implemented through JIRA UI:
- Disable "create branch" option depending on issue status
Feel free to vote and watch the suggestion to increase its priority and also receive notifications about any updates.
We hope to have a nice tracking of how many users are requiring this functionality and put some effort to get you with any options to configure it. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<script type='text/javascript'> I used the following javascript: ------------------------------------------------ function contentChanged(){ if (AJS.$("#status-val").text() == "Closed") { AJS.$("#viewissue-devstatus-panel").hide() } } AJS.toInit(contentChanged); JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function(e, context, reason) { contentChanged(); }); ------------------------------ With this, it hid the Create Branch section for few seconds and showed it back up again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What's your javascript?
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.