Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Create Project over REST API


Currently, we use the following SDK to create projects via the Jira API:

The API currently works via a personal access token. We would like to make our integration available to other Jira users in the near future and have created a Forge app for this purpose. We have not yet found a way to also use authentication via the Forge app via the Laravel SDK.

Therefore, we are currently trying to switch the requests via the WebTrigger interface to the Forge app.

However, when creating a project, we still get the following error:

{"errorMessages":["OAuth 2.0 is not enabled for method: POST /project"]}

Call with Forge:
let result = await api
.requestJira(route`${req.queryParameters.path}`,{method: req.method, body: req.body});

What is the best way to solve this?
- Is it also possible to create new projects via Forge?
- Or can the authentication be changed so that access via the Laravel SDK works?


1 answer

1 accepted

0 votes
Answer accepted

The solution was to add /rest/api/3/ to the url.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,773 views 37 47
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you