Hi! I'm trying to create an issue from unity but it always returns me this message:
[RequestAPI] error on send requestHTTP/1.1 401 Unauthorized
{"errorMessages":["You do not have permission to create issues in this project."],"errors":{}}
I've checked all the permissions and I'm the only member and admin... so I can't understand what appends ....
I checked the permission schemes too...
An example of my code:
public static async UniTask<string> TestCreateIssue()
{
Issue issue = new Issue
{
fields = new Fields
{
project = new Project { key = "QA" },
summary = "Summary test",
description = "Description test",
issuetype = new Issuetype { name = "Bug" }
}
};
return await CreateIssue(issue);
}
public static async UniTask<string> CreateIssue(Issue issue)
{
var options = new RequestOptions();
options.headers.Add("Authorization", "Basic " + token);
var response = await Post(JIRA_API_ENDPOINT.Address + "rest/api/3/issue", issue, options);
if (!response.success)
{
LogError(response);
return response.error;
}
else
return "ok";
}
Hi Alvaro - Welcome to the Atlassian Community!
Is this a Marketplace app? If so, you should contact that vendor directly for assistance.
Hi John, thanks! It's not a Marketplace product, it's only a simple unity project for now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay, thanks, but I don't know what a "unity" project is. Can yo describe that more? Or show a screen shot of the project?
And how are you trying to create the issue? By what method?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Alvaro TL Can you share a screen shot of the Create Issues permission from the Permission Scheme? Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.