Homestyx hydra
Diffusion hydra e58ef418c798

Read both older "key" and newer "accountId" identifiers from JIRA during…

Description

Read both older "key" and newer "accountId" identifiers from JIRA during authentication

Summary:
Depends on D21022. Ref T13493. The JIRA API has changed from using "key" to identify users to using "accountId".

By reading both identifiers, this linkage "just works" if you run against an old version of JIRA, a new version of JIRA, or an intermediate version of JIRA.

It also "just works" if you run old JIRA, upgrade to intermediate JIRA, everyone refreshes their link at least once, then you upgrade to new JIRA.

This is a subset of cases and does not include "sudden upgrade to new JIRA", but it's strictly better than the old behavior for all cases it covers.

Test Plan: Linked, unlinked, and logged in with JIRA. Looked at the "ExternalAccountIdentifier" table and saw a sensible value.

Maniphest Tasks: T13493

Differential Revision: https://secure.phabricator.com/D21023

Details

Provenance
epriestleyAuthored on Feb 22 2020, 8:28 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:802b5aca05cc: Remove all readers and writers of "accountID" on "ExternalAccount"
Branches
Unknown
Tags
Unknown

Event Timeline