MrRefactoring / jira.js

A JavaScript/TypeScript wrapper for the JIRA Cloud, Service Desk and Agile REST API
https://mrrefactoring.github.io/jira.js/
MIT License
366 stars 49 forks source link

issueWorklogs.addWorklog comment cannot be added #206

Closed RealBuddy closed 2 years ago

RealBuddy commented 2 years ago

In version 3 of the API there is no way to add comment

MrRefactoring commented 2 years ago

Hi @RealBuddy! Looks like a bug. Thank you for reporting

RealBuddy commented 2 years ago

I wish there could be a way to add a comment in a plain text (as it was in the previous 2nd version of the API) I don't think all this formatting stuff is really needed for the workload comments.

MrRefactoring commented 2 years ago

Hmm, it's a good point. I will add 2 ways:

  1. You can add a comment as a string
  2. You can use formatting stuff

Thank you for suggestion