Listener(Issue Updated) throwing workflow timeout error when updating nFeed field

Description

*This issue has moved*

This issue has been moved permanently to Adaptavist's Product Support JIRA instance.

All existing users of this instance should have the same username on our Product Support instance. However, you will very likely need to click on the
Can't access your account link in order to reset to a new password.

Hi Jamie,
I have created Custom Listener , which listens for Issue Updated event.
The listener is updating an nFeed field in another issue based on some JQL.
The listener is working correctly when i do an Issue Update using JIRA Edit button.
The same listener throws Worklfow time out error , when i am executing workflow transition with Issue Update event.

Listener Logic -
get Field Value & search in other project using JQL & update the nFeed field using issue.setCutomfieldValue, call IssueUpdate & Reindex Issue that isssue.

This logic works fine in EDIT button, but not in Workflow transition.

Environment

JIRA 6.3.6

Activity

Show:
Kapil Bolli
May 28, 2015, 6:25 AM

Hi Jamie,

I uploaded file - ExListener1.groovy where i am updating an issue UP-1 with an nFeed field (User Software Compatibility) value as Red.
This listener is working properly on Edit Issue Button, but not on Transition (errror Timeout error )with Issue Updated Event.
Transition screen has fields - Comments , nFeed Customfield.

-Kapil

Jamie Echlin
March 9, 2015, 7:38 AM
Edited

Hi Kapil,

I need you to attach "the smallest possible code that demonstrates an issue"... I can;t set up all the custom fields in order to test the code you attached. Is this definitely related to the nFeed plugin, does it happen with a different field?

To clarify, you've created this as a Critical Bug... so you need to demonstrate that it actually is a bug in the plugin rather than in your code.
cheers, jamie

Kapil Bolli
March 9, 2015, 6:02 AM

Hi Jamie,

Any Update on this.

-Kapil

Kapil Bolli
March 3, 2015, 12:18 PM

Hi Jamie,

I have listener configured only for one project, and updating the issue in another project where listener is not configured , & even i am not dispatching any event when updating the issue
The script is giving the expected result in the EDIT button
-Kapil

Jamie Echlin
March 3, 2015, 12:14 PM

so you're updating an issue in an update listener, which triggers an update, which updates the issue... etc etc.

Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Jamie Echlin

Reporter

Kapil Bolli

Internal Complexity

Unknown

Internal Value

Unknown