Despite being documented as available, the assigneeType field is never returned from the api.
Hi @AbbyMarieFlood. Welcome to the developer community!
Which API method are you currently trying to use? There is the GET Project method:
In the response, you’ll find an assigneeType
key, and the value will either be UNASSIGNED
or PROJECT_LEAD
. Additionally, there is a lead
object in the response, which contains an accountId
and displayName
.
Hi @nmansilla , I agree that it works with https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects/#api-rest-api-3-project-projectidorkey-get .
But as @AbbyMarieFlood told, if you use https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects/#api-rest-api-3-project-search-get you won’t get any value for assigneeType
, despite what is written in the documentation. I have tried to add all the expand values available, unsuccessfully. So it may be a bug on this endpoint (or in the doc!).
By the way, it’s a pity that in the Atlassian documentation, it is not clear what fields will be displayed or not, depending on the expand parameter. Most of the time you just need to make tries to know how the API will behave.
Regards,
Bertrand