找到正确的JIRA Java SDK版本的问题

问题描述 投票:0回答:1

[1]我很难找到正确的JIRA SDK版本。我想要这个StatusCategory类,但是找不到包含它的正确的jar文件。

https://docs.atlassian.com/DAC/javadoc/jira/reference/com/atlassian/jira/issue/status/category/StatusCategory.html

[2]我根据他们的描述下载了Atlassian JIRA SDK,但在该文件中找不到jar文件。也许我看错了?

https://marketplace.atlassian.com/apps/1210950/atlassian-plugin-sdk-windows/version-history

[3]我也尝试使用mvnrespository.com查找JAR文件,但没有运气,所有依赖项都以provided为范围。

https://mvnrepository.com/artifact/com.atlassian.jira/jira-api

[[4]以前,我使用了旧版本的JIRA API,该版本可以运行,但不包含我想要的StatusCategory类。

        <!-- https://mvnrepository.com/artifact/com.atlassian.jira/jira-rest-java-client-core -->
        <dependency>
            <groupId>com.atlassian.jira</groupId>
            <artifactId>jira-rest-java-client-core</artifactId>
            <version>5.1.6</version>
        </dependency>

        <!-- https://mvnrepository.com/artifact/com.atlassian.jira/jira-rest-java-client-api -->
        <dependency>
            <groupId>com.atlassian.jira</groupId>
            <artifactId>jira-rest-java-client-api</artifactId>
            <version>5.1.6</version>
        </dependency>

        <!-- https://mvnrepository.com/artifact/io.atlassian.fugue/fugue -->
        <dependency>
            <groupId>io.atlassian.fugue</groupId>
            <artifactId>fugue</artifactId>
            <version>4.7.2</version>
        </dependency>

我是唯一发现整个JIRA Java SDK有点混乱的人吗?-)?

java jira-rest-api atlassian-plugin-sdk
1个回答
0
投票

通过沿着路线[2]行驶。

您通过调用atlas-create-jira-plugin.bat使用其原型生成器创建JIRA插件。

/为JIRA SDK的安装文件夹。您可以在/apache-maven-3.5.4/conf/settings.xml中使用settings.xml,并使用/repository作为m2存储库。您可以在IntelliJ中按项目覆盖这些设置。

© www.soinside.com 2019 - 2024. All rights reserved.