This is an automated email from the ASF dual-hosted git repository.

abeizn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new dbb789c3 fix(jira): add jira 7 support
dbb789c3 is described below

commit dbb789c36afde209ec0a888ee6eb266e51cdc4e6
Author: Yingchu Chen <[email protected]>
AuthorDate: Thu Sep 1 19:19:09 2022 +0800

    fix(jira): add jira 7 support
    
    closes #2912
---
 plugins/jira/api/connection.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/jira/api/connection.go b/plugins/jira/api/connection.go
index 1c071504..1fd5d666 100644
--- a/plugins/jira/api/connection.go
+++ b/plugins/jira/api/connection.go
@@ -94,7 +94,7 @@ func TestConnection(input *core.ApiResourceInput) 
(*core.ApiResourceOutput, erro
        // check version
        if resBody.DeploymentType == models.DeploymentServer {
                // only support 8.x.x or higher
-               if versions := resBody.VersionNumbers; len(versions) == 3 && 
versions[0] < 8 {
+               if versions := resBody.VersionNumbers; len(versions) == 3 && 
versions[0] < 7 {
                        return nil, fmt.Errorf("%s Support JIRA Server 8+ 
only", serverInfoFail)
                }
        }

Reply via email to