MrRefactoring / jira.js

A JavaScript/TypeScript wrapper for the JIRA Cloud, Service Desk and Agile REST API

Home Page:https://mrrefactoring.github.io/jira.js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bulkGetUser: accountId parameter doesn't get serialised

iovecoldpizza opened this issue · comments

Problem:
The accountId param for bulkGetUser should be serialised, just like bulkGetUsersMigration, in order for it to return the correct results. The current version of bulkGetUser can only fetch one user at a time.

Current behaviour & code:
Screenshot 2022-07-02 at 15 34 52
Screenshot 2022-07-02 at 15 31 32

Expected behaviour & code:
Screenshot 2022-07-02 at 15 35 11
Screenshot 2022-07-02 at 15 29 08

Thanks!

Sorry for the late fix, had originally planned more changes, but didn't calculate the time commitment.

Fixed in v2.15.3

No prob man. Thanks for the effort.
Would you prefer I create a PR for known fixes like this next time?

If you could do this, then it would be fine, it would speed up the fixing of problems.