@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

According to Jira Project keys must start with an uppercase letter, followed by one or more uppercase alphanumeric characters

Summary: Jira allows creating projects which contain number in names, phabricator will not allow such projects but it should

Test Plan: Pasted URL with Jira project which contain number in project name and it was parsed and resolved properly in phabricator

Reviewers: epriestley, Pawka, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

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

+1 -1
+1 -1
src/applications/auth/provider/PhabricatorJIRAAuthProvider.php
··· 335 335 public function getDoorkeeperURIRef(PhutilURI $uri) { 336 336 $uri_string = phutil_string_cast($uri); 337 337 338 - $pattern = '((https?://\S+?)/browse/([A-Z]+-[1-9]\d*))'; 338 + $pattern = '((https?://\S+?)/browse/([A-Z][A-Z0-9]*-[1-9]\d*))'; 339 339 $matches = null; 340 340 if (!preg_match($pattern, $uri_string, $matches)) { 341 341 return null;