Setting References for Assets via REST API in Jira

Hello Jira Community,

I’m currently working on a project that requires creating Assets and their associated References by utilizing the Assets API.

To date, I’ve been successful in generating Assets and defining their attributes by leveraging the POST Object create method. However, when it comes to setting References, I’ve encountered a stumbling block.

From what I’ve gathered, References don’t seem to exist as attributes of an Asset, but are only accessible via the GET Object referenceinfo method. I noticed that there’s no apparent POST or PUT method for them mentioned in the REST API documentation.

I’m curious to know whether it’s possible to set references through the REST API, or is this a task that can only be accomplished via the GUI?

Any insight or guidance on this matter would be greatly appreciated.

Thank you in advance for your assistance and expertise.