安装使用什么的就不用说了,用过RTC,clearcase的人对这些基本概念都应该熟悉了,个人觉得JIRA和IBM Rational team concern 的项目管理和追踪这一块非常类似。所以这方面的使用和介绍稍微玩一玩基本都还好,我主要对它的二次开发比较赶兴趣。 RTC也提供了二次开发的接口,包含java 和rest API,所以JIRA应该也有类似的功能。
先黏贴一些资料,等我有更多深入理解,再来更新:
JIRA SDK developerment:
https://developer.atlassian.com/display/DOCS/Set+up+the+Atlassian+Plugin+SDK+and+Build+a+Project
REST API:
https://developer.atlassian.com/display/JIRADEV/JIRA+REST+API+Example+-+Create+Issue#JIRARESTAPIExample-CreateIssue-Fieldmeta-dataforcreatingissues
SDK在windows上的安装:
下载地址:https://marketplace.atlassian.com/download/plugins/atlassian-plugin-sdk-windows
安装不用说了,实在搞不清楚的可以查看这里:
https://developer.atlassian.com/display/DOCS/Install+the+Atlassian+SDK+on+a+Windows+System
怎么验证安装成功:
C:\Users\IBM_ADMIN>atlas-version
ATLAS Version: 4.2.10
ATLAS Home: C:\Users\IBM_ADMIN\atlassian-plugin-sdk
ATLAS Scripts: C:\Users\IBM_ADMIN\atlassian-plugin-sdk\bin
ATLAS Maven Home: C:\Users\IBM_ADMIN\atlassian-plugin-sdk\apache-maven
--------
Executing: "C:\Users\IBM_ADMIN\atlassian-plugin-sdk\apache-maven\bin\mvn.bat" --
version -gs C:\Users\IBM_ADMIN\atlassian-plugin-sdk\apache-maven/conf/settings.x
ml
Apache Maven 2.1.0 (r755702; 2009-03-19 03:10:27+0800)
Java version: 1.7.0_10
Java home: C:\Program Files\Java\jdk1.7.0_10\jre
Default locale: zh_CN, platform encoding: GBK
OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
C:\Users\IBM_ADMIN>
利用jira的rest API来进行二次开发:
1 JAVA DOC文档地址:
https://docs.atlassian.com/jira-rest-java-client/0.4/apidocs/
2 JAR的版本:0.4
https://maven.atlassian.com/content/repositories/atlassian-public/com/atlassian/jira/jira-rest-java-client/0.4/
下载所有的jar文件
3开发步骤:
在eclipse里面建立项目之后,需要添加reference lib,在项目所在的目录下建一个lib文件夹,并添加build path->configure build path->add external jars
将上述三个jar加入到项目中去。
博文转自carolzhang8406
买JIRA上CSDN,特殊折扣购买通道:
http://atlassian.csdn.net/module/btc/atlassian/prduct_detail?project_id=445&module=34&product=9
CSDN开立Atlassian中文技术论坛更多交流分享请点击:
http://bbs.csdn.net/forums/atlassian