Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Why am I receiving GitHub API deprecation warnings?

We use both Jira Cloud and Jira Server with GitHub. I have already installed the "new" GitHub integration for the Cloud (a while ago), but both the Server and Cloud were previously set up with the "old" DVCS integration.

I recently received two emails from GitHub that the old integrations (both Server and Cloud) have been using access tokens in a deprecated way.

Hello there!

On June 10th, 2020 at 11:55 (UTC) your application (Jira) used an access token (with the User-Agent Apache-HttpClient/4.5.12 (Java/1.8.0_252)) as part of a query parameter to access an endpoint through the GitHub API.

https://api.github.com/repositories/271262640/hooks

Please use the Authorization HTTP header instead as using the `access_token` query parameter is deprecated.

Depending on your API usage, we'll be sending you this email reminder on a monthly basis.

Visit https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param for more information about suggested workarounds and removal dates.

Thanks,
The GitHub Team

The above "Jira" identifies the OAuth app in our GitHub for the old DVCS integration in Jira Cloud.

your application (JIRA Service Desk) used an access token (with the User-Agent Java/1.8.0_202)

From the second email, "JIRA Service Desk" identifies the OAuth app in our GitHub for the old DVCS integration in Jira Server.

So: What can I do about this?

  • In Jira Cloud, under Settings / Products / DVCS accounts, nothing is listed (presumably following the migration to the new integration). So why is it still being used, and in a deprecated manner?
  • In Jira Server, under Settings / Products / DVCS accounts, my GitHub org and its repos are still listed. I can't find that the new integration even exists yet- so should the old one still be in a working / supported state?
  • I could just delete one or both OAuth credentials from GitHub. But something recently used them, and I don't want to break stuff.

Jira Server version as at that point a few days ago was 8.4.1, since upgraded to 8.5.5 (as part of Service Desk).

1 answer

1 accepted

1 vote
Answer accepted

I asked the same question but looks like there is an issue: https://jira.atlassian.com/browse/JSWSERVER-20414

I couldn't find anything useful there regarding the cloud version

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
4.4.1
TAGS
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

157 views 0 4
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