From 451e95fac91b56880fca00bbfbaef2b1a7ca5f53 Mon Sep 17 00:00:00 2001 From: Johan Kromhout Date: Thu, 15 May 2025 10:33:22 +0200 Subject: [PATCH] Fix jira integration after jira update Prior to this change, since the jira update, tickets were no longer created because of errors. The responses from Jira are changed, and this change does the minimal required fixes in order to create tickets again using a forked version of the lesstif/php-jira-rest-client library. Fixes #1364 --- composer.json | 8 +++++++- composer.lock | 19 +++++++++++-------- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index 1d9de66f4..5be3b1c11 100644 --- a/composer.json +++ b/composer.json @@ -38,7 +38,7 @@ "guzzlehttp/guzzle": "^7.9.2", "knplabs/knp-menu-bundle": "^3.5.0", "league/tactician-bundle": "^1.5.1", - "lesstif/php-jira-rest-client": "^5.9", + "lesstif/php-jira-rest-client": "dev-main#0b0d4f9cfcfb7104749c25c2b2da02a31ed786ff", "lexik/translation-bundle": "^v6.0", "nelmio/security-bundle": "^3.4.2", "openconext/monitor-bundle": "^4.3.1", @@ -189,6 +189,12 @@ "Fix dependency injection issue": "./patches/dependency-injection-for-TinymceBundle.patch" } }, + "repositories": [ + { + "type": "vcs", + "url": "https://github.com/lesstif/php-jira-rest-client.git" + } + ], "symfony": { "allow-contrib": false, "require": "6.4.*" diff --git a/composer.lock b/composer.lock index 892a66ff4..13ce4d318 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "4d71bdd21c0a2fbc092a58be12e3c6eb", + "content-hash": "d851e369806de2ca937f88ab902a499b", "packages": [ { "name": "behat/transliterator", @@ -2674,16 +2674,16 @@ }, { "name": "lesstif/php-jira-rest-client", - "version": "5.10.0", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/lesstif/php-jira-rest-client.git", - "reference": "46b20408c34138615acbdd58a86b8b624d864d0c" + "reference": "0b0d4f9cfcfb7104749c25c2b2da02a31ed786ff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/lesstif/php-jira-rest-client/zipball/46b20408c34138615acbdd58a86b8b624d864d0c", - "reference": "46b20408c34138615acbdd58a86b8b624d864d0c", + "url": "https://api.github.com/repos/lesstif/php-jira-rest-client/zipball/0b0d4f9cfcfb7104749c25c2b2da02a31ed786ff", + "reference": "0b0d4f9cfcfb7104749c25c2b2da02a31ed786ff", "shasum": "" }, "require": { @@ -2702,6 +2702,7 @@ "suggest": { "vlucas/phpdotenv": "^5.0|^6.0" }, + "default-branch": true, "type": "library", "extra": { "laravel": { @@ -2735,9 +2736,9 @@ ], "support": { "issues": "https://github.com/lesstif/php-jira-rest-client/issues", - "source": "https://github.com/lesstif/php-jira-rest-client/tree/5.10.0" + "source": "https://github.com/lesstif/php-jira-rest-client/tree/main" }, - "time": "2025-04-05T12:50:11+00:00" + "time": "2025-04-05T13:08:01+00:00" }, { "name": "lexik/translation-bundle", @@ -13102,7 +13103,9 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": {}, + "stability-flags": { + "lesstif/php-jira-rest-client": 20 + }, "prefer-stable": false, "prefer-lowest": false, "platform": {