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

Accepted Answer
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
Community showcase
Posted Friday in Europe

Venue Needed! 23rd October

Hey Everyone! Unfortunately, the venue that was hosting us on the 23rd has pulled out so we're looking for a new venue.    If anyone would have a room free that we could use on the ev...

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