Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments are not being added to issues #62

Open
justaugustus opened this issue Jan 4, 2023 · 2 comments
Open

Comments are not being added to issues #62

justaugustus opened this issue Jan 4, 2023 · 2 comments
Assignees
Labels
bug Something isn't working release-blocker
Milestone

Comments

@justaugustus
Copy link
Contributor

Comments have not been added to issues. It appears the comparison logic is invalid/incomplete and comparisons for certain fields, like comments, do not appear to happen until after the issues have been determined to not have any differences.

Command (run at c21d4ba)

time go run main.go -t $(cat ~/.github-token) --log-level debug --config ../../.config/.issue-sync.json --period 0

Log snippet

INFO[0002] updating issue 10056                          app=gh-jira-issue-sync
DEBU[0002] Updating JIRA SYNC-57 with GitHub #50         app=gh-jira-issue-sync
DEBU[0002] Comparing GitHub issue #50 and JIRA issue SYNC-57  app=gh-jira-issue-sync
DEBU[0002] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0002] JIRA issue SYNC-57 is already up to date!     app=gh-jira-issue-sync
DEBU[0002] JIRA issue SYNC-57 has 0 comments             app=gh-jira-issue-sync
DEBU[0002] Retrieving GitHub user (justaugustus)         app=gh-jira-issue-sync
ERRO[0002] Error performing operation; retrying in 552ms: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0003] Error performing operation; retrying in 1.08s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0004] Error performing operation; retrying in 1.31s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0005] Error performing operation; retrying in 1.582s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0007] Error performing operation; retrying in 2.34s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0009] Error performing operation; retrying in 4.506s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0014] Error performing operation; retrying in 3.221s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0017] Error performing operation; retrying in 5.608s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0023] Error performing operation; retrying in 7.649s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0031] Error creating JIRA comment on issue SYNC-57. Error: request error: backoff error: retry notify: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0031] Error occurred trying to read error body: http2: response body closed  app=gh-jira-issue-sync
ERRO[0031] Error updating issue SYNC-57. Error: comparing comments for issue SYNC-57: creating Jira comment: reading error body: http2: response body closed  app=gh-jira-issue-sync

Full log:

DEBU Setting commands globally into verbose mode
DEBU Using log level "debug"                       file="cmd/root.go:184"
INFO[0000] config file loaded                            file=../../.config/.issue-sync.json
INFO[0000] log level set                                 app=gh-jira-issue-sync log-level=debug
DEBU[0000] Checking config variables...                  app=gh-jira-issue-sync
DEBU[0000] Using HTTP Basic Authentication               app=gh-jira-issue-sync
DEBU[0000] All config variables are valid!               app=gh-jira-issue-sync
DEBU[0000] JIRA clients initialized                      app=gh-jira-issue-sync
DEBU[0000] Collecting field IDs.                         app=gh-jira-issue-sync
DEBU[0000] All fields have been checked.                 app=gh-jira-issue-sync
DEBU Using authenticated GitHub client             file="github/github.go:194"
DEBU[0000] Successfully connected to GitHub.             app=gh-jira-issue-sync
DEBU[0000] Collecting issues                             app=gh-jira-issue-sync
DEBU[0000] Collected all GitHub issues                   app=gh-jira-issue-sync
DEBU JQL query used: project='SYNC' AND cf[10048] in (1518161682,1517006078,1512358994,1512263025,1512044441,1511986797,1510233612,1510233465,1510233426,1510233380,1510233347,1510233251,1510233198,1510233097,1510232731,1510227591,1510226238,1510219671,1510075038,1508480333,1508295508,1508292244,1508289389,1508285716,1508283201,1508281529,1508279848,1508277393,1508275026,1508156032,1508102635)  file="jira/jira.go:171"
DEBU[0001] Jira issues found: 31                         app=gh-jira-issue-sync
DEBU[0001] Collected all JIRA issues                     app=gh-jira-issue-sync
DEBU[0001] GitHub ID custom field key: customfield_10048  app=gh-jira-issue-sync
INFO[0001] updating issue 10059                          app=gh-jira-issue-sync
DEBU[0001] Updating JIRA SYNC-60 with GitHub #61         app=gh-jira-issue-sync
DEBU[0001] Comparing GitHub issue #61 and JIRA issue SYNC-60  app=gh-jira-issue-sync
DEBU[0001] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0001] JIRA issue SYNC-60 is already up to date!     app=gh-jira-issue-sync
DEBU[0001] Issue #61 has no comments, skipping.          app=gh-jira-issue-sync
INFO[0001] updating issue 10058                          app=gh-jira-issue-sync
DEBU[0001] Updating JIRA SYNC-59 with GitHub #57         app=gh-jira-issue-sync
DEBU[0001] Comparing GitHub issue #57 and JIRA issue SYNC-59  app=gh-jira-issue-sync
DEBU[0001] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0001] JIRA issue SYNC-59 is already up to date!     app=gh-jira-issue-sync
DEBU[0001] Issue #57 has no comments, skipping.          app=gh-jira-issue-sync
INFO[0001] updating issue 10057                          app=gh-jira-issue-sync
DEBU[0001] Updating JIRA SYNC-58 with GitHub #52         app=gh-jira-issue-sync
DEBU[0001] Comparing GitHub issue #52 and JIRA issue SYNC-58  app=gh-jira-issue-sync
DEBU[0001] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0001] JIRA issue SYNC-58 is already up to date!     app=gh-jira-issue-sync
DEBU[0002] Issue #52 has no comments, skipping.          app=gh-jira-issue-sync
INFO[0002] updating issue 10056                          app=gh-jira-issue-sync
DEBU[0002] Updating JIRA SYNC-57 with GitHub #50         app=gh-jira-issue-sync
DEBU[0002] Comparing GitHub issue #50 and JIRA issue SYNC-57  app=gh-jira-issue-sync
DEBU[0002] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0002] JIRA issue SYNC-57 is already up to date!     app=gh-jira-issue-sync
DEBU[0002] JIRA issue SYNC-57 has 0 comments             app=gh-jira-issue-sync
DEBU[0002] Retrieving GitHub user (justaugustus)         app=gh-jira-issue-sync
ERRO[0002] Error performing operation; retrying in 552ms: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0003] Error performing operation; retrying in 1.08s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0004] Error performing operation; retrying in 1.31s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0005] Error performing operation; retrying in 1.582s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0007] Error performing operation; retrying in 2.34s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0009] Error performing operation; retrying in 4.506s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0014] Error performing operation; retrying in 3.221s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0017] Error performing operation; retrying in 5.608s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0023] Error performing operation; retrying in 7.649s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0031] Error creating JIRA comment on issue SYNC-57. Error: request error: backoff error: retry notify: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0031] Error occurred trying to read error body: http2: response body closed  app=gh-jira-issue-sync
ERRO[0031] Error updating issue SYNC-57. Error: comparing comments for issue SYNC-57: creating Jira comment: reading error body: http2: response body closed  app=gh-jira-issue-sync
INFO[0031] updating issue 10055                          app=gh-jira-issue-sync
DEBU[0031] Updating JIRA SYNC-56 with GitHub #45         app=gh-jira-issue-sync
DEBU[0031] Comparing GitHub issue #45 and JIRA issue SYNC-56  app=gh-jira-issue-sync
DEBU[0031] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0031] JIRA issue SYNC-56 is already up to date!     app=gh-jira-issue-sync
DEBU[0031] Issue #45 has no comments, skipping.          app=gh-jira-issue-sync
INFO[0031] updating issue 10054                          app=gh-jira-issue-sync
DEBU[0031] Updating JIRA SYNC-55 with GitHub #43         app=gh-jira-issue-sync
DEBU[0031] Comparing GitHub issue #43 and JIRA issue SYNC-55  app=gh-jira-issue-sync
DEBU[0031] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0031] JIRA issue SYNC-55 is already up to date!     app=gh-jira-issue-sync
DEBU[0031] Issue #43 has no comments, skipping.          app=gh-jira-issue-sync
INFO[0031] updating issue 10053                          app=gh-jira-issue-sync
DEBU[0031] Updating JIRA SYNC-54 with GitHub #39         app=gh-jira-issue-sync
DEBU[0031] Comparing GitHub issue #39 and JIRA issue SYNC-54  app=gh-jira-issue-sync
DEBU[0031] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0031] JIRA issue SYNC-54 is already up to date!     app=gh-jira-issue-sync
DEBU[0031] Issue #39 has no comments, skipping.          app=gh-jira-issue-sync
INFO[0031] updating issue 10052                          app=gh-jira-issue-sync
DEBU[0031] Updating JIRA SYNC-53 with GitHub #38         app=gh-jira-issue-sync
DEBU[0031] Comparing GitHub issue #38 and JIRA issue SYNC-53  app=gh-jira-issue-sync
DEBU[0031] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0031] JIRA issue SYNC-53 is already up to date!     app=gh-jira-issue-sync
DEBU[0032] Issue #38 has no comments, skipping.          app=gh-jira-issue-sync
INFO[0032] updating issue 10051                          app=gh-jira-issue-sync
DEBU[0032] Updating JIRA SYNC-52 with GitHub #37         app=gh-jira-issue-sync
DEBU[0032] Comparing GitHub issue #37 and JIRA issue SYNC-52  app=gh-jira-issue-sync
DEBU[0032] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0032] JIRA issue SYNC-52 is already up to date!     app=gh-jira-issue-sync
DEBU[0032] Issue #37 has no comments, skipping.          app=gh-jira-issue-sync
INFO[0032] updating issue 10050                          app=gh-jira-issue-sync
DEBU[0032] Updating JIRA SYNC-51 with GitHub #36         app=gh-jira-issue-sync
DEBU[0032] Comparing GitHub issue #36 and JIRA issue SYNC-51  app=gh-jira-issue-sync
DEBU[0032] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0032] JIRA issue SYNC-51 is already up to date!     app=gh-jira-issue-sync
DEBU[0032] Issue #36 has no comments, skipping.          app=gh-jira-issue-sync
INFO[0032] updating issue 10049                          app=gh-jira-issue-sync
DEBU[0032] Updating JIRA SYNC-50 with GitHub #35         app=gh-jira-issue-sync
DEBU[0032] Comparing GitHub issue #35 and JIRA issue SYNC-50  app=gh-jira-issue-sync
DEBU[0032] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0032] JIRA issue SYNC-50 is already up to date!     app=gh-jira-issue-sync
DEBU[0033] Issue #35 has no comments, skipping.          app=gh-jira-issue-sync
INFO[0033] updating issue 10048                          app=gh-jira-issue-sync
DEBU[0033] Updating JIRA SYNC-49 with GitHub #34         app=gh-jira-issue-sync
DEBU[0033] Comparing GitHub issue #34 and JIRA issue SYNC-49  app=gh-jira-issue-sync
DEBU[0033] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0033] JIRA issue SYNC-49 is already up to date!     app=gh-jira-issue-sync
DEBU[0033] Issue #34 has no comments, skipping.          app=gh-jira-issue-sync
INFO[0033] updating issue 10047                          app=gh-jira-issue-sync
DEBU[0033] Updating JIRA SYNC-48 with GitHub #33         app=gh-jira-issue-sync
DEBU[0033] Comparing GitHub issue #33 and JIRA issue SYNC-48  app=gh-jira-issue-sync
DEBU[0033] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0033] JIRA issue SYNC-48 is already up to date!     app=gh-jira-issue-sync
DEBU[0033] Issue #33 has no comments, skipping.          app=gh-jira-issue-sync
INFO[0033] updating issue 10046                          app=gh-jira-issue-sync
DEBU[0033] Updating JIRA SYNC-47 with GitHub #32         app=gh-jira-issue-sync
DEBU[0033] Comparing GitHub issue #32 and JIRA issue SYNC-47  app=gh-jira-issue-sync
DEBU[0033] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0033] JIRA issue SYNC-47 is already up to date!     app=gh-jira-issue-sync
DEBU[0034] Issue #32 has no comments, skipping.          app=gh-jira-issue-sync
INFO[0034] updating issue 10045                          app=gh-jira-issue-sync
DEBU[0034] Updating JIRA SYNC-46 with GitHub #31         app=gh-jira-issue-sync
DEBU[0034] Comparing GitHub issue #31 and JIRA issue SYNC-46  app=gh-jira-issue-sync
DEBU[0034] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0034] JIRA issue SYNC-46 is already up to date!     app=gh-jira-issue-sync
DEBU[0034] Issue #31 has no comments, skipping.          app=gh-jira-issue-sync
INFO[0034] updating issue 10044                          app=gh-jira-issue-sync
DEBU[0034] Updating JIRA SYNC-45 with GitHub #30         app=gh-jira-issue-sync
DEBU[0034] Comparing GitHub issue #30 and JIRA issue SYNC-45  app=gh-jira-issue-sync
DEBU[0034] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0034] JIRA issue SYNC-45 is already up to date!     app=gh-jira-issue-sync
DEBU[0034] Issue #30 has no comments, skipping.          app=gh-jira-issue-sync
INFO[0034] updating issue 10043                          app=gh-jira-issue-sync
DEBU[0034] Updating JIRA SYNC-44 with GitHub #29         app=gh-jira-issue-sync
DEBU[0034] Comparing GitHub issue #29 and JIRA issue SYNC-44  app=gh-jira-issue-sync
DEBU[0034] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0034] JIRA issue SYNC-44 is already up to date!     app=gh-jira-issue-sync
DEBU[0034] Issue #29 has no comments, skipping.          app=gh-jira-issue-sync
INFO[0034] updating issue 10042                          app=gh-jira-issue-sync
DEBU[0034] Updating JIRA SYNC-43 with GitHub #28         app=gh-jira-issue-sync
DEBU[0034] Comparing GitHub issue #28 and JIRA issue SYNC-43  app=gh-jira-issue-sync
DEBU[0034] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0034] JIRA issue SYNC-43 is already up to date!     app=gh-jira-issue-sync
DEBU[0034] JIRA issue SYNC-43 has 0 comments             app=gh-jira-issue-sync
DEBU[0034] Retrieving GitHub user (justaugustus)         app=gh-jira-issue-sync
ERRO[0035] Error performing operation; retrying in 507ms: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0035] Error performing operation; retrying in 985ms: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0036] Error performing operation; retrying in 803ms: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0037] Error performing operation; retrying in 1.486s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0039] Error performing operation; retrying in 2.07s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0041] Error performing operation; retrying in 3.678s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0045] Error performing operation; retrying in 4.459s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0049] Error performing operation; retrying in 6.775s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0056] Error creating JIRA comment on issue SYNC-43. Error: request error: backoff error: retry notify: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0056] Error occurred trying to read error body: http2: response body closed  app=gh-jira-issue-sync
ERRO[0056] Error updating issue SYNC-43. Error: comparing comments for issue SYNC-43: creating Jira comment: reading error body: http2: response body closed  app=gh-jira-issue-sync
INFO[0056] updating issue 10041                          app=gh-jira-issue-sync
DEBU[0056] Updating JIRA SYNC-42 with GitHub #24         app=gh-jira-issue-sync
DEBU[0056] Comparing GitHub issue #24 and JIRA issue SYNC-42  app=gh-jira-issue-sync
DEBU[0056] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0056] JIRA issue SYNC-42 is already up to date!     app=gh-jira-issue-sync
DEBU[0057] Issue #24 has no comments, skipping.          app=gh-jira-issue-sync
INFO[0057] updating issue 10040                          app=gh-jira-issue-sync
DEBU[0057] Updating JIRA SYNC-41 with GitHub #16         app=gh-jira-issue-sync
DEBU[0057] Comparing GitHub issue #16 and JIRA issue SYNC-41  app=gh-jira-issue-sync
DEBU[0057] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0057] JIRA issue SYNC-41 is already up to date!     app=gh-jira-issue-sync
DEBU[0057] JIRA issue SYNC-41 has 0 comments             app=gh-jira-issue-sync
DEBU[0057] Retrieving GitHub user (justaugustus)         app=gh-jira-issue-sync
ERRO[0057] Error performing operation; retrying in 359ms: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0057] Error performing operation; retrying in 527ms: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0058] Error performing operation; retrying in 968ms: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0059] Error performing operation; retrying in 1.806s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0061] Error performing operation; retrying in 3.448s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0065] Error performing operation; retrying in 3.011s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0068] Error performing operation; retrying in 4.539s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0072] Error performing operation; retrying in 10.7s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0083] Error creating JIRA comment on issue SYNC-41. Error: request error: backoff error: retry notify: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0083] Error occurred trying to read error body: http2: response body closed  app=gh-jira-issue-sync
ERRO[0083] Error updating issue SYNC-41. Error: comparing comments for issue SYNC-41: creating Jira comment: reading error body: http2: response body closed  app=gh-jira-issue-sync
INFO[0083] updating issue 10039                          app=gh-jira-issue-sync
DEBU[0083] Updating JIRA SYNC-40 with GitHub #14         app=gh-jira-issue-sync
DEBU[0083] Comparing GitHub issue #14 and JIRA issue SYNC-40  app=gh-jira-issue-sync
DEBU[0083] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0083] JIRA issue SYNC-40 is already up to date!     app=gh-jira-issue-sync
DEBU[0084] JIRA issue SYNC-40 has 0 comments             app=gh-jira-issue-sync
DEBU[0084] Retrieving GitHub user (justaugustus)         app=gh-jira-issue-sync
ERRO[0084] Error performing operation; retrying in 682ms: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0084] Error performing operation; retrying in 897ms: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0085] Error performing operation; retrying in 1.151s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0087] Error performing operation; retrying in 891ms: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0088] Error performing operation; retrying in 1.666s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0089] Error performing operation; retrying in 4.204s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0094] Error performing operation; retrying in 8.401s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0102] Error performing operation; retrying in 4.95s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0107] Error creating JIRA comment on issue SYNC-40. Error: request error: backoff error: retry notify: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0107] Error occurred trying to read error body: http2: response body closed  app=gh-jira-issue-sync
ERRO[0107] Error updating issue SYNC-40. Error: comparing comments for issue SYNC-40: creating Jira comment: reading error body: http2: response body closed  app=gh-jira-issue-sync
INFO[0107] updating issue 10038                          app=gh-jira-issue-sync
DEBU[0107] Updating JIRA SYNC-39 with GitHub #13         app=gh-jira-issue-sync
DEBU[0107] Comparing GitHub issue #13 and JIRA issue SYNC-39  app=gh-jira-issue-sync
DEBU[0107] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0107] JIRA issue SYNC-39 is already up to date!     app=gh-jira-issue-sync
DEBU[0107] Issue #13 has no comments, skipping.          app=gh-jira-issue-sync
INFO[0107] updating issue 10037                          app=gh-jira-issue-sync
DEBU[0107] Updating JIRA SYNC-38 with GitHub #12         app=gh-jira-issue-sync
DEBU[0107] Comparing GitHub issue #12 and JIRA issue SYNC-38  app=gh-jira-issue-sync
DEBU[0107] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0107] JIRA issue SYNC-38 is already up to date!     app=gh-jira-issue-sync
DEBU[0108] Issue #12 has no comments, skipping.          app=gh-jira-issue-sync
INFO[0108] updating issue 10036                          app=gh-jira-issue-sync
DEBU[0108] Updating JIRA SYNC-37 with GitHub #11         app=gh-jira-issue-sync
DEBU[0108] Comparing GitHub issue #11 and JIRA issue SYNC-37  app=gh-jira-issue-sync
DEBU[0108] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0108] JIRA issue SYNC-37 is already up to date!     app=gh-jira-issue-sync
DEBU[0108] Issue #11 has no comments, skipping.          app=gh-jira-issue-sync
INFO[0108] updating issue 10035                          app=gh-jira-issue-sync
DEBU[0108] Updating JIRA SYNC-36 with GitHub #10         app=gh-jira-issue-sync
DEBU[0108] Comparing GitHub issue #10 and JIRA issue SYNC-36  app=gh-jira-issue-sync
DEBU[0108] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0108] JIRA issue SYNC-36 is already up to date!     app=gh-jira-issue-sync
DEBU[0108] JIRA issue SYNC-36 has 0 comments             app=gh-jira-issue-sync
DEBU[0108] Retrieving GitHub user (justaugustus)         app=gh-jira-issue-sync
ERRO[0108] Error performing operation; retrying in 279ms: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0109] Error performing operation; retrying in 894ms: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0110] Error performing operation; retrying in 901ms: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0111] Error performing operation; retrying in 1.136s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0112] Error performing operation; retrying in 2.635s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0115] Error performing operation; retrying in 3.964s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0119] Error performing operation; retrying in 4.433s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0123] Error performing operation; retrying in 7.886s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0131] Error creating JIRA comment on issue SYNC-36. Error: request error: backoff error: retry notify: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0131] Error occurred trying to read error body: http2: response body closed  app=gh-jira-issue-sync
ERRO[0131] Error updating issue SYNC-36. Error: comparing comments for issue SYNC-36: creating Jira comment: reading error body: http2: response body closed  app=gh-jira-issue-sync
INFO[0131] updating issue 10034                          app=gh-jira-issue-sync
DEBU[0131] Updating JIRA SYNC-35 with GitHub #9          app=gh-jira-issue-sync
DEBU[0131] Comparing GitHub issue #9 and JIRA issue SYNC-35  app=gh-jira-issue-sync
DEBU[0131] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0131] JIRA issue SYNC-35 is already up to date!     app=gh-jira-issue-sync
DEBU[0131] Issue #9 has no comments, skipping.           app=gh-jira-issue-sync
INFO[0131] updating issue 10033                          app=gh-jira-issue-sync
DEBU[0131] Updating JIRA SYNC-34 with GitHub #8          app=gh-jira-issue-sync
DEBU[0131] Comparing GitHub issue #8 and JIRA issue SYNC-34  app=gh-jira-issue-sync
DEBU[0131] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0131] JIRA issue SYNC-34 is already up to date!     app=gh-jira-issue-sync
DEBU[0132] Issue #8 has no comments, skipping.           app=gh-jira-issue-sync
INFO[0132] updating issue 10032                          app=gh-jira-issue-sync
DEBU[0132] Updating JIRA SYNC-33 with GitHub #7          app=gh-jira-issue-sync
DEBU[0132] Comparing GitHub issue #7 and JIRA issue SYNC-33  app=gh-jira-issue-sync
DEBU[0132] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0132] JIRA issue SYNC-33 is already up to date!     app=gh-jira-issue-sync
DEBU[0132] JIRA issue SYNC-33 has 0 comments             app=gh-jira-issue-sync
DEBU[0132] Retrieving GitHub user (justaugustus)         app=gh-jira-issue-sync
ERRO[0132] Error performing operation; retrying in 376ms: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0133] Error performing operation; retrying in 586ms: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0133] Error performing operation; retrying in 1.449s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0135] Error performing operation; retrying in 1.454s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0136] Error performing operation; retrying in 3.494s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0140] Error performing operation; retrying in 3.026s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0143] Error performing operation; retrying in 7.941s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0151] Error performing operation; retrying in 5.104s: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0156] Error creating JIRA comment on issue SYNC-33. Error: request error: backoff error: retry notify: Invalid request payload. Refer to the REST API documentation and try again.: request failed. Please analyze the request body for more details. Status code: 400  app=gh-jira-issue-sync
ERRO[0156] Error occurred trying to read error body: http2: response body closed  app=gh-jira-issue-sync
ERRO[0156] Error updating issue SYNC-33. Error: comparing comments for issue SYNC-33: creating Jira comment: reading error body: http2: response body closed  app=gh-jira-issue-sync
INFO[0156] updating issue 10031                          app=gh-jira-issue-sync
DEBU[0156] Updating JIRA SYNC-32 with GitHub #6          app=gh-jira-issue-sync
DEBU[0156] Comparing GitHub issue #6 and JIRA issue SYNC-32  app=gh-jira-issue-sync
DEBU[0156] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0156] JIRA issue SYNC-32 is already up to date!     app=gh-jira-issue-sync
DEBU[0157] Issue #6 has no comments, skipping.           app=gh-jira-issue-sync
INFO[0157] updating issue 10030                          app=gh-jira-issue-sync
DEBU[0157] Updating JIRA SYNC-31 with GitHub #5          app=gh-jira-issue-sync
DEBU[0157] Comparing GitHub issue #5 and JIRA issue SYNC-31  app=gh-jira-issue-sync
DEBU[0157] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0157] JIRA issue SYNC-31 is already up to date!     app=gh-jira-issue-sync
DEBU[0157] Issue #5 has no comments, skipping.           app=gh-jira-issue-sync
INFO[0157] updating issue 10029                          app=gh-jira-issue-sync
DEBU[0157] Updating JIRA SYNC-30 with GitHub #4          app=gh-jira-issue-sync
DEBU[0157] Comparing GitHub issue #4 and JIRA issue SYNC-30  app=gh-jira-issue-sync
DEBU[0157] Issues have any differences: false            app=gh-jira-issue-sync
DEBU[0157] JIRA issue SYNC-30 is already up to date!     app=gh-jira-issue-sync
DEBU[0157] Issue #4 has no comments, skipping.           app=gh-jira-issue-sync
go run main.go -t $(cat ~/.github-token) --log-level debug --config  --period  0.94s user 0.45s system 0% cpu 2:38.43 total

Originally reported in #50 (comment).

@justaugustus
Copy link
Contributor Author

Filed an upstream issue as well: andygrunwald/go-jira#604

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working release-blocker
Projects
None yet
Development

No branches or pull requests

1 participant