Sample connect express app with OAuth

Hey!

We are a couple of student developers doing a project where we have to create a Jira extension. We need to be able to query issues within a specific board and read some data from this.

We started by creating a Forge app, but as far as we can see, there is no support for creating board modules, so this would not work for us.

Now we’re creating a Connect app instead, using Atlassian Connect Express, but we are having a lot of issues getting it to work. We have created a button in the top of the board, and we can display a dialogue when it’s clicked. Doing any form of querying is giving us problems, because we are not authenticated correctly (is there an authentication flow, we’re missing?)…

We have googled and searched for a week, and read everything we could find - much of it is outdated.

Is there anyone who has a “sample project” for Atlassian Connect where the authentication-part is setup correctly?

Hi,
when you want to access from the browser, please follow this documentation:
https://developer.atlassian.com/cloud/jira/platform/about-the-connect-javascript-api/ and Connect cookbook (first example).

This should give you a way to access Jira.

Welcome to the Atlassian developer community @NadjaBrixKoch,

I think you might have misinterpreted the linked thread. A Forge App can create a board using POST /rest/agile/1.0/board in the Jira Software Cloud REST APIs. And I think it would be much shorter path from nothing to making that API call using Forge than Atlassian Connect Express (ACE).

If you do continue with ACE, then OAuth is not involved. Atlassian Connect’s security is done using JWT. ACE provides some convenience methods to handle the authentication flows automatically. See “ How to send a signed outbound HTTP request back to the host” in the ACE README.

A post was split to a new topic: Is it possible to use OAuth 2.0 (3LO) within a connect app?