Home
last modified time | relevance | path

Searched refs:projectKey (Results 1 – 8 of 8) sorted by relevance

/plugin/issuelinks/action/
H A Dajax.php191 $projectKey = $INPUT->str('project');
194 if (empty($serviceName) || empty($projectKey)) {
211 $data->importAllIssues($serviceName, $projectKey);
240 $projectKey = $INPUT->str('issuelinks-project');
246 list($code, $data) = $this->checkImportStatus($serviceName, $projectKey);
254 $projectKey,
266 protected function checkImportStatus($serviceName, $projectKey) argument
274 $lockID = $data->getImportLockID($serviceName, $projectKey);
294 private function getIssueTooltipHTML($pmServiceName, $projectKey, $issueId, $isMergeRequest) argument
297 $issue = Issue::getInstance($pmServiceName, $projectKey, $issueId, $isMergeRequest);
[all …]
/plugin/issuelinks/helper/
H A Ddata.php31 * @param string $projectKey The short-key of the project to be imported
35 public function importAllIssues($serviceName, $projectKey) argument
37 $lockfileKey = $this->getImportLockID($serviceName, $projectKey);
57 while ($issues = $service->retrieveAllIssues($projectKey, $startAt)) {
80 "Downloading all issues from $serviceName fpr project $projectKey failed ",
98 public function getImportLockID($serviceName, $projectKey) argument
100 return "_plugin__issuelinks_import_$serviceName-$projectKey";
228 public function getMergeRequestsForIssue($serviceName, $projectKey, $issueId, $isMergeRequest) argument
254 * @param string $projectKey
260 public function getLinkingPages($pmServiceName, $projectKey, $issueId, $isMergeRequest) argument
[all …]
H A Ddb.php283 * @param string $projectKey The short-key of a project, e.g. SPR
288 public function loadIssue($serviceName, $projectKey, $issueId, $isMergeRequest) argument
291 …$issues = $this->sqlArrayQuery($sql, [$serviceName, $projectKey, $issueId, $isMergeRequest ? 1 : 0…
335 * @param string $projectKey The project short-key
340 public function getAllPageLinkingToIssue($serviceName, $projectKey, $issue_id, $isMergeRequest) argument
350 …return $this->sqlArrayQuery($sql, [$serviceName, $projectKey, $issue_id, $isMergeRequest ? 1 : 0]);
357 * @param string $projectKey The short-key for the project, e.g. SPR
363 public function removeOldLinks($serviceName, $projectKey, $issue_id, $isMergeRequest, $pages) argument
374 'project_id' => $projectKey,
466 * @param string $projectKey the key of the project, e.g. SPR
[all …]
/plugin/issuelinks/services/
H A DGitLab.service.php304 list($projectKey, $issueId) = explode($projectIssueSeperator, $issueSyntax);
305 $issue = Issue::getInstance('gitlab', $projectKey, $issueId, $isMergeRequest);
416 public function retrieveAllIssues($projectKey, &$startat = 0) argument
420 $endpoint = '/projects/' . urlencode($projectKey) . "/issues?page=$page&per_page=$perPage";
423 …$mrEndpoint = '/projects/' . urlencode($projectKey) . "/merge_requests?page=$page&per_page=$perPag…
429 $issue = Issue::getInstance('gitlab', $projectKey, $issueData['iid'], false);
442 $issue = Issue::getInstance('gitlab', $projectKey, $mrData['iid'], true);
447 $issues = $this->parseMergeRequestDescription($projectKey, $issueText);
H A DGitHub.service.php67 $issue = Issue::getInstance('github', $projectKey, $issueId, true);
75 $issue = Issue::getInstance('github', $projectKey, $issueId, false);
521 * @param string $projectKey The short-key of the project to be imported
529 public function retrieveAllIssues($projectKey, &$startat = 0) argument
534 $endpoint = "/repos/$projectKey/issues?state=all&page=$page";
548 $projectKey,
H A DServiceInterface.php84 public function retrieveAllIssues($projectKey, &$startat = 0); argument
H A DJira.service.php106 list($projectKey, $issueNumber) = explode('-', $issueSyntax);
108 $issue = Issue::getInstance('jira', $projectKey, $issueNumber, false);
/plugin/issuelinks/classes/
H A DIssue.php37 * @param string $projectKey The shortkey of the project, e.g. SPR
42 private function __construct($serviceName, $projectKey, $issueId, $isMergeRequest) argument
44 if (empty($serviceName) || empty($projectKey) || empty($issueId) || !is_numeric($issueId)) {
49 $this->projectId = $projectKey;
69 $projectKey, argument
74 $issueHash = $serviceName . $projectKey . $issueId . '!' . $isMergeRequest;
76 … self::$instances[$issueHash] = new Issue($serviceName, $projectKey, $issueId, $isMergeRequest);