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

This widget could not be displayed.

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.

This widget could not be displayed.

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?

This widget could not be displayed.

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

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

34 views 3 4
Join discussion

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