Unable to post a new activity during post function

Description

I am using the Activity Stream library to add custom items to JIRA's activity feed. Most additions go smoothly but when I try to add some within a post function, the same code I was already using keeps returning the following error :

java.lang.IllegalStateException: Newly posted activity could not be retrieved

I've tried different approaches without success so far.

Since the code for the atlassian-streams plugin is available online, I had a quick look. It appears the new activity is not saved correctly in Active Objects :

@denizoguz, since I can't comment on the issue ( ? ) I'll respond here in the description. No unfortunately I haven't found a workaround for my postfunction.

Environment

None

Testing Notes

Add notes...

Activity

Show:
Deniz Oğuz
November 1, 2017, 2:42 PM

Hi,

Did you able to find any solution for this problem? I'm having the same problem, but not from a post function. It is working on my test environment but one customer complained about this problem.

Assignee

Unassigned

Reporter

Sebastien Delcoigne

Add-on Type

Server

Team

None

CC

None

Risk factor

None

QA Kickoff Status

None

QA Demo Status

None

Priority

Major
Configure