Hello jira-developers,
hello supporter and anyone,
Iam looking forward for the possibility to hide subtask-creation in GUI. I has write a customized postfunction for creating subtask. In postfunction some actions was automatic handled by script. The only lasted problem is, that user's can use the default subtask-creation-button under acton-menu to create subtask without my postfunction automatic actions.
Can anyone help me to hide the default subtask-create-buttons? (The view of subtask is still required and should remain unchanged!)
Have many thanks in advance.
Marc
Community moderators have prevented the ability to post new answers.
Go to Administration > Plugins > Manage Plugins > System Plugins. Find "Issue operations plugin" and disable the "create-subtask" module.
Thank you for your fastest answer!
That is one part of a solution.
But I think it is better to disable for a single project, and not global for all project from this jira-server. Is it possible to hide by customized plugin-module? Than I can query some things about the current issue and hiding the button when it is required.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When I use the following description to denie the creation of subtask, is it possible to create subtasks by postfunction? (Is the postfunction capable of overwirte the status-permission?)
http://www.j-tricks.com/1/post/2011/02/permissions-based-on-workflow-status.html
(At the moment I think a plugin-solution will be more flexible for my problem.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think you can hide it by a plugin. At the most, you can disable it by some Javascript. Another option might be to edit the budnled plugin to add your logic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't want change bundled plugin's or core-fetures from our jira.
Aproximate 30 Projects are effeceted and my change is only for one special project.
Do you have a initial-idea for a Javascript-Solution in a jira-plugin?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maybe something like:
<script type="text/javascript"> AJS.$(document).ready(function () { var href = AJS.$("#project-name-val").text(); if (href && href == 'My project Name'){ AJS.$("#create-subtask").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.