As a plugin developer I am interested in adding new type of activities to the Activity Stream plugin. Is this possible and if so, were would be a good place to start?
Community moderators have prevented the ability to post new answers.
Activity Stream in JIRA is derived from the change history on issues. You will need to push data in to it if you need to add more I guess!
I was hoping to push non-issue related activites. I guess that is not possible then.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
From JIRA 5.0 onwards you can push arbitrary activities into an activity stream using a REST API (also available in Confluence 4.1). You would need to POST something like this:
{ "published": "2011-02-10T15:04:55.000Z", "actor": { "id": "jko", "image": { "url": "http://www.gravatar.com/avatar/00a08e3ffde37612301a0d65824cb6cb?s=48", "width": 48, "height": 48 } }, "icon" : { "url": "https://bitbucket.org/favicon.ico", "width" : "16", "height" : "16" }, "object" : { "id": "csid19021043803344554", "objectType": "changeset", "url" : "https://bitbucket.org/scalatra/scalatra/commit/a74e68d7de52f98c1ea4f3c48fd5bbec70fa507c" }, "generator" : { "id": "http://www.bitbucket.org", "displayName" : "Bitbucket" }, "target": { "url": "ONE-1" }, "id" : "http://bitbucket.org/jko/", "title" : "Merge commit '68041056c69461d93958197cdb401a9ba4e5a0a4' into HEAD", "content" : "<blockquote>Compile with '-unchecked -deprecation' and clean up what we found.</blockquote>" }
More information in Adding Activities to a Third Party Feed with the REST API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Activity Streams 4.1 allows plugin developers to create third-party activity providers that can be used in conjunction with Activity Streams. In addition to providing activity content, the activity provider plugin can contribute filtering options which would be available on the stream's configuration screen.
See Consuming an Activity Streams Feed for more information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.