how customize and hide some fileds on issue?

Hello! How hide fileds ( in red box) how see on attach screenshot ? I need only fields and button on left side ( my workflow) and activity

Please give me direct link on manual, or right example.

Thanks.

4 answers

1 vote
Mizan Community Champion Feb 02, 2012

For Source and review tab you will have to disable modules "fisheye issue tab panel " and "crucible issue tab panel" from the system plugin "Fisheye Plugin"

for the above red box i assume its assign to me and assign buttons , for that you need to disable modules " View Issue Ops Bar Assign Link"
and "View Issue Ops Bar Assign To Me Link" from Issue Operations Plugin under system plugins.

System plugins are under administration>>plugins>>Show system plugins

Warning : these are system plugins

Mizan thanks! Why i am expand "JIRA Fisheye Plugin" still waiting and never open settings for disable components?

Mizan Community Champion Feb 02, 2012

You should be able to see the modules after you click the "+" sign on the manage plugin modules . there you will have to click the disable button on the right side of the particular module.

No, see this - http://i40.tinypic.com/hsj87b.jpg

And error in IE:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; InfoPath.3)
Timestamp: Fri, 3 Feb 2012 12:25:46 UTC


Message: 'status-code' is null or not an object
Line: 1012
Char: 2
Code: 0
URI: http://hostname:8010/s/ru_RU-uvbl0n/663/5/1.4.1/_/download/batch/com.atlassian.upm.atlassian-universal-plugin-manager-plugin:plugin-manager/com.atlassian.upm.atlassian-universal-plugin-manager-plugin:plugin-manager.js

i found https://jira.atlassian.com/browse/JRA-24378

where in config file, i can set -Datlassian.dev.mode ?

Waiting, and nothing for view

Hello! Any ideas how to fix? I got error when expand:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; InfoPath.3)
Timestamp: Mon, 6 Feb 2012 06:58:04 UTC


Message: 'status-code' is null or not an object
Line: 1012
Char: 2
Code: 0
URI: http://host:port/s/ru_RU-uvbl0n/663/5/1.4.1/_/download/batch/com.atlassian.upm.atlassian-universal-plugin-manager-plugin:plugin-manager/com.atlassian.upm.atlassian-universal-plugin-manager-plugin:plugin-manager.js

Mizan Community Champion Feb 05, 2012

This may be a browser issue ... try with a latest version of mozilla .

Hello! Error still same in Firefox 10 http://i41.tinypic.com/rc3k29.jpg

Mizan Community Champion Feb 05, 2012

is java script enabled in your browser ? check http://support.mozilla.org/en-US/kb/JavaScript ..

yes, enabled in firefox, enabled in internet explorer. error same in both browser.

Mizan Community Champion Feb 05, 2012

may be you should ask another question with a screenshot of error attached. i am sorry i dont know why the error appears.

Mizan Community Champion Feb 05, 2012

Ask a new question . Because you have accepted my answer i guess not all will notice it . you can ask a new question here

Sorry, i mark you answer for right - too quick.

Unmark you answer. Path for manage plugin is correct.

Mizan Community Champion Feb 05, 2012

you can like it ;)

After upgrade on JIRA 5 i can disable-enable plugin.

Mizan Community Champion Feb 26, 2012

Good :) ...................

0 votes

On the top bar, you can't really - those all lead to valid options for the users. You can cut the list down by restricting permissions though (e.g. if you disallow comments, it'll disappear from the options)

The tabs are different - you can disable them, but that is global and would remove them completely. If you turn off Fisheye/Crucible integration, they will go away.

Source and Reviews tabs are only shown to people with the view source control permission, so you can remove everyone from that permission, which will hide them.

Here is a solution which i just implemented which allows you to decide which buttons you want removed based on Project, Issue Type, and Status. Using the following base, you can see how this can be modified to hopefully fit your needs. I just placed the following code directly into the description of the Component/s field on the field configuration which is assigned to the relevant project/issue type. It uses the alt attribute of the images to control when the buttons of Assign and Assign to Me are removed. This may be able to be expanded for the source and review tabs.

<script type='text/javascript'>
AJS.$(document).ready(function() {
        var workflowState = AJS.$('#status-val img').attr('alt');
        var issueType = AJS.$('#type-val img').attr('alt');
        var projectName = AJS.$('#heading-avatar img').attr('alt');
        if(workflowState == 'New' && issueType == 'Ticket' && projectName == 'IT Support')
        {
           var btnAssignToMe = AJS.$("#assign-to-me");
           var btnAssign = AJS.$("#assign-issue");
 
           btnAssignToMe.parent().remove();
           btnAssign.parent().remove();
      }
});
</script>

I just tested out some more, and i have modified my script to do exactly as you wanted to do and remove all the buttons except the workflow transitions and also remove the Source and Review tabs:

<script type='text/javascript'>
AJS.$(document).ready(function() {
        var workflowState = AJS.$('#status-val img').attr('alt');
        var issueType = AJS.$('#type-val img').attr('alt');
        var projectName = AJS.$('#heading-avatar img').attr('alt');
        if(workflowState == 'New' && issueType == 'Ticket' && projectName == 'IT Support')
        {
           var btnAssignToMe = AJS.$("#assign-to-me");
           var btnAssign = AJS.$("#assign-issue");
           var sourceTab = AJS.$("#fisheye-issuepanel");
           var reviewTab = AJS.$("#crucible-issuepanel");
           var editIssue = AJS.$("#edit-issue");
           var opsbarOperations = AJS.$("#opsbar-opsbar-operations");

           sourceTab.parent().remove();
           reviewTab.parent().remove();
           editIssue.parent().parent().remove();
           opsbarOperations.remove();
      }
});
</script>

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Want to know how Atlassians monitor their enterprise deployments?

At Atlassian, we believe in our own products – that's why we use them, even at the enterprise level. Doing so gives us first-hand experience of how they perform at scale; to do this, we monitor each ...

94 views 3 9
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