I want to filter my request based on selected organization. ( I’m using Jira Service Desk Server )
I set requestOwnership = ORGANIZATION and organizationId = 1.
In server land, although ORGANIZATION is an accepted (and by accepted, not throwing an error) value for requestOwnership query parameter, as per Get my customer requests REST API documentation, it is not listed as a valid value for requestOwnership. In addition to that, organizationId is not a valid query parameter.
On the other hand, it works as expected in JSD cloud because that functionality is available as documented in Get customer requests.
You’re welcome, @mvoermans. I am not yet aware as to why it is not implemented in JSD server and I was not able to find an issue related to this.
What I can suggest is if you’re interested to get the requests given an organization, you might want to try Jira Server’s Search API then pass the organization in the JQL like Organizations in (Org, Org2). Will that work for your use case?