gioboa / jira-plugin

Jira plugin for VsCode
https://marketplace.visualstudio.com/items?itemName=gioboa.jira-plugin
MIT License
266 stars 41 forks source link

Problem with work log submitting #118

Closed QuercusB closed 5 years ago

QuercusB commented 5 years ago

Problem: When trying to submit work log got a error in "Jira Plugin" output window. However, it actually worked week ago and I suspect that our Jira masters have changed something in Jira. If I go to issue in Jira I'm able to add work log.

Truncated error:

{"statusCode":400,"body":{"errorMessages":["Unrecognized field \"worklog\" (Class com.atlassian.jira.issue.fields.rest.json.beans.WorklogJsonBean), not marked as ignorable\n at [Source: org.apache.catalina.connector.CoyoteInputStream@3b2fb883; line: 1, column: 13] (through reference chain: com.atlassian.jira.issue.fields.rest.json.beans.WorklogJsonBean[\"worklog\"])"]}....

To Reproduce

  1. Select working issue
  2. Wait for some time, then deselect it
  3. See add work log dialog, press 'Add' button
  4. See error

Expected behavior Expected work log to be added to Jira issue.

Desktop (please complete the following information): Version: 1.35.1 (user setup) Commit: c7d83e57cd18f18026a8162d042843bda1bcf21f Date: 2019-06-12T14:30:02.622Z Electron: 3.1.8 Chrome: 66.0.3359.181 Node.js: 10.2.0 V8: 6.6.346.32 OS: Windows_NT x64 10.0.17763

Log {"statusCode":400,"body":{"errorMessages":["Unrecognized field \"worklog\" (Class com.atlassian.jira.issue.fields.rest.json.beans.WorklogJsonBean), not marked as ignorable\n at [Source: org.apache.catalina.connector.CoyoteInputStream@3b2fb883; line: 1, column: 13] (through reference chain: com.atlassian.jira.issue.fields.rest.json.beans.WorklogJsonBean[\"worklog\"])"]}

gioboa commented 5 years ago

Hi, with previous version works?

QuercusB commented 5 years ago

Previous version of plugin? Didn't notice that plugin was updated.

It worked a week ago (maybe even two days ago) - something changed since then.

gioboa commented 5 years ago

Yes, I updated the plugin a day ago. I think this commit broke something. You can downgrade the plugin version and I will fix as soon as possible. Thanks.

QuercusB commented 5 years ago

Thanks, downgraded - that helps.

gioboa commented 5 years ago

In the new v 0.18.1 works as expected. 👍