Can we disable activity stream on a certain project?

wajdhaikal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 24, 2012

Or a a workarround to hide activity stream panel for a certain project? script or any way?

3 answers

1 accepted

5 votes
Answer accepted
Jeremy Largman
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 24, 2012

There's a feature request for this here:

https://studio.atlassian.com/browse/STRM-2000

Here's a workaround:

Edit the file ./atlassian-jira-4.4.4-standalone/atlassian-jira/WEB-INF/classes/templates/plugins/jira/projectpanels/fragments/summary/activitystream.vm:

#if($project)
#set ($pkey = $project.getKey())
#end
#if  ($pkey.equals("TEST")||$pkey.equals("SHOWTHISPROJECT"))
#if($!gadgetHtml)
<div class="mod-header">
    <h3>$i18n.getText('common.concepts.activity.stream')</h3>
</div>
<div class="mod-content">
    <div class="activitystream-container">
        $gadgetHtml
    </div>
</div>
#end
#end 

Replace "TEST" and "SHOWTHISPROJECT" with the project keys where you want the activity stream to show. You can keep adding ||$pkey.equals("SHOWTHISPROJECT") for new projects. Or, you can do the inverse and add a !.

If you want, there's a tip on velocity reloading here: http://confluence.atlassian.com/display/JIRA041/_Velocity_Template_Customisation

O. Funkhouser February 11, 2012

How can I modify this script to restrict access based on the User Group as well?

O. Funkhouser February 11, 2012

In addition, is there something similar to this to hide the Activity Stream when viewing individual issues?

wm_in4matica December 16, 2013

Is it possible to disable only tempo activities from the activity stream? In our company we want to display all JIRA activities, but TEMPO activities should be faded out.

0 votes
Mark Casey December 9, 2014

Is it possible to have activity streams disabled unless users are logged in?

0 votes
David Luke July 17, 2013

You can disable all Activity Streams by disabling the associated system plugin.

wm_in4matica December 16, 2013

Is it only "all or nothing", or is there a way to disable/enable certain streams?

Suggest an answer

Log in or Sign up to answer