Can we disable activity stream on a certain project?

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

3 answers

1 accepted

5 votes

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

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

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

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.

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

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

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

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

74 views 0 11
Read article

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