Issue with RM.Data.setAttributes When Updating Attributes for Multiple Linked Work Items
I am developing a widget to fetch status information from RTC work items linked via the "Implemented By" link type and update values in two different attributes in RM artifacts.
Problem
The functionality works correctly when there are fewer than three linked work items. However, when three or more links are present, the API call causes the page to freeze, making the browser unresponsive.
In the Network tab, I noticed a multi-request API call (
https://jazz.com/rm/multi-request
) being triggered. I am unsure about its purpose or how it impacts my implementation.
Current Implementation
The API used is
RM.Data.setAttributes
. Here is an example of the
artifactsToUpdate
object passed to this function:
Any help in resolving this issue or guidance on best practices for handling such cases would be greatly appreciated.