You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The update for a synced comment does not propagate to Shotgun correctly. The reason for this being that the body is malformed based on the sg-jira-bridge's expectation.
This error is not one of the known issues (in fact, it specifically mentions it should be supported):
Shotgun Notes contain a subject and content, while Jira Comments have only a body. When syncing Notes from Shotgun to Jira, a special formatting is used to mimic the structure that Shotgun uses. Updates to a Comment in Jira must retain this formatting otherwise the Comment will not sync back to Shotgun.
The issue becomes apparent if you compare the regex in source compared to what message comes in. The webapp gives the following warning:
2020-05-27 15:07:40,015 WARNING [note_comment_handler] Unable to process Jira Comment comment_updated event. Invalid Jira Comment body format. Unable to parse Shotgun subject and content from '{panel:bgColor=#deebff} Kevin Chi Yan's Note on TestAsset
Testing out Shotgun comment replies / edits from Jira.
A late reply but maybe it could still help someone else - we modified the regex internally to match the structure that Jira gives. It's not 100% on point, but generally gets the job done.
The update for a synced comment does not propagate to Shotgun correctly. The reason for this being that the body is malformed based on the sg-jira-bridge's expectation.
This error is not one of the known issues (in fact, it specifically mentions it should be supported):
Source documentation.
The issue becomes apparent if you compare the regex in source compared to what message comes in. The webapp gives the following warning:
The regex that the handler is comparing to is
r"\{panel:title=([^\}]*)\}(.*)\{panel\}"
which makes sense since it's posted with the title as well. I guess in some update Jira now converts the title attribute into the bold markup above. (See: https://github.com/shotgunsoftware/sg-jira-bridge/blob/master/sg_jira/handlers/note_comment_handler.py#L95)What I'm not sure of is if this is only a problem in certain versions (or certain settings within Jira?)
The text was updated successfully, but these errors were encountered: