Note
We've packed up and moved from Confluence to Discourse to bring you a better, more interactive space. Out of courtesy we didn't migrate your user account so - you will have to signup again
The Exalate team will be on holiday for the coming days - returning Jan 4
Enjoy & stay safe
Hello there,
I need to get IDs of Groups to which Request from JSM belongs to. Typically from REST API I could just access the field "Request Type" which has the "groupIds" property. Below is an example how the "Request Type" field looks returned from a REST API.
As you can see to access groupIds I would just simply use path customfield_10010.requestType.groupIds.
How do I achieve that in the outgoing sync script? Tried:
issue.customFields."Request Type".requestType.groupIds
issue.customFields."Request Type".value.requestType.groupIds
issue.customFields."Request Type".value - this returned null/null for some reason even though the script ran on a Request
Thanks