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
Accepted answer

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
Community showcase
Posted 12 hours ago in Canada

Happy New Year - First AUG of the year - great success

Hi Everyone, Hope everyone had a great holiday season and is ready for an exciting 2019.  We had our first AUG last night featuring Tempo Timesheets.  A great presentation and lots of int...

15 views 0 1
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