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.
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.