Createmeta field autoCompleteUrl OAuth 2.0 is not enabled for this method

Trying to use the createmeta API to build an integration where users can create issues. However some of the autoCompleteUrl returned are for api 1.0, which returns the following error message:
“OAuth 2.0 is not enabled for this method.”.

Example of autoCompleteUrls returned:

{
  "Reporter": "https://api.atlassian.com/ex/jira/1a955a8e-5c9f-48d6-a5ac-2c8a71aef0e4/rest/api/3/user/search?query=",
  "Custom User Picker (single user)": "https://api.atlassian.com/ex/jira/1a955a8e-5c9f-48d6-a5ac-2c8a71aef0e4/rest/api/1.0/users/picker?fieldName=customfield_10035&fieldConfigId=10134&projectId=10000&showAvatar=true&query=",
  "Custom User Picker (multiple users)": "https://api.atlassian.com/ex/jira/1a955a8e-5c9f-48d6-a5ac-2c8a71aef0e4/rest/api/1.0/users/picker?fieldName=customfield_10036&showAvatar=true&query=",
  "Labels": "https://api.atlassian.com/ex/jira/1a955a8e-5c9f-48d6-a5ac-2c8a71aef0e4/rest/api/1.0/labels/suggest?query=",
  "Custom Assets Field": "https://bird.atlassian.net/rest/assetapi/asset/?query=",
  "Linked Issues": "https://api.atlassian.com/ex/jira/1a955a8e-5c9f-48d6-a5ac-2c8a71aef0e4/rest/api/3/issue/picker?currentProjectId=&showSubTaskParent=true&showSubTasks=true&currentIssueKey=null&query=",
  "Assignee": "https://api.atlassian.com/ex/jira/1a955a8e-5c9f-48d6-a5ac-2c8a71aef0e4/rest/api/3/user/assignable/search?project=BEB&query="
}

Related:

1 Like

Hi @francisco,

This looks like a bug so Ive created https://ecosystem.atlassian.net/browse/ACJIRA-2173 for this.

Can you manipulate the links as a workaround?

Regards,
Dugald

1 Like

Hi @dmorrow,

Thank you for opening a ticket.

I don’t see how to manipulate the links systematically.
At least some, if not all, of the URL’s don’t seem to have an equivalent in api 3.
For example labels doesn’t support searching in V3.