Activity Streams do not include activity from specific projects or issue types
Platform Notice: Server, Data Center, and Cloud By Request - This article was written for the Atlassian server and data center platforms but may also be useful for Atlassian Cloud customers. If completing instructions in this article would help you, please contact Atlassian Support and mention it.
Problem
Activity streams from Dashboard Gadgets, Issue Activity Tab, Project Overview or User Profile are missing activity from specific Issue types or Projects
The following appears in the atlassian-jira.log
2015-09-26 03:43:34,480 StreamsCompletionService::thread-7 WARN admin 223x325x1 1g7kvzl 127.0.0.1 /plugins/servlet/streams [atlassian.streams.jira.JiraEntryFactoryImpl] Error creating streams entry
java.lang.NullPointerException
at java.net.URI$Parser.parse(URI.java:3023)
at java.net.URI.<init>(URI.java:595)
at java.net.URI.create(URI.java:857)
at com.atlassian.streams.jira.builder.JiraEntryBuilderFactory.getIconLink(JiraEntryBuilderFactory.java:206)
at com.atlassian.streams.jira.builder.JiraEntryBuilderFactory.buildLinks(JiraEntryBuilderFactory.java:115)
Diagnosis
The following SQL queries returns all potentially affected Issue Types in the database
select * from issuetype where AVATAR is null AND ICONURL is null;
The query tested with MySQL, may need syntax adjustments for other database.
Cause
Issuetype Avatar Icons are broken. It's not clear how this comes to be exactly.
Resolution
Assign an Issue Type avatar to the Issue Type by taking the following steps:
- Navigate through Adminstration cog menu icon > Issues > Issue Types
- Find the edit link corresponding to the affected issue types
- Edit the issue type to add an Issue Type Icon
You can browse to some pre-built icons in JIRA's installation directory: $JIRA-installation-directory/atlassian-jira/images/icons/issuetypes