Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting 403 Status code (Forbidden)

Bhagavan Goud
Contributor
July 6, 2022

I'm Getting 403 status code While Calling Jira project Creator REST API

"https://example.com/api/jira/project"

3 answers

1 vote
Jimmy Wick
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 7, 2022

The SQL Server-Agent service account don't have the permission to access the Jira API.

You can do one thing:
Create a Agent Proxy with your credentials, as you have access and use that proxy to execute the SSIS job

 

Regards,
J Wick

0 votes
Bhagavan Goud
Contributor
July 7, 2022

Hi @Alex Koxaras -Relational- ,

Thanks for the Information

Using the above API getting provisional headers issue

0 votes
Alex Koxaras -Relational-
Community Champion
July 6, 2022

Hi @Bhagavan Goud 

I'm not sure you are following the right API, and/or you don't provide within this post enough details so as to judge better.

The API for creating a project is this:

/rest/api/3/project

 https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects/#api-rest-api-3-project-post

Edited: And 403 is returned if the user does not have permission to create projects. I would definitely check with your admin to see if you have the Administer Jira global permission.

Alex Koxaras -Relational-
Community Champion
July 7, 2022

@Bhagavan Goud what do you mean?

Bhagavan Goud
Contributor
July 7, 2022

Hi @Alex Koxaras -Relational- 

Thanks for the information.

I have used this URL

/rest/api/3/project

but getting provisional headers "cross-origin error"

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events