SlideShare une entreprise Scribd logo
1  sur  30
우리 회사 업무 시스템과 아틀라시안의 만남
- Build Atlassian add-ons -
권봉진 부장, 오픈소스컨설팅
2
목차
1. Atlassian add-ons
2. Deveolper Environment
3. Atlassian Plugin SDK
4. Plugin Development Steps
5. Example #1 - Helloworld Plugin
6. Example #2 - Telegram Plugin
7. REST APIs & Example
예제소스 : https://github.com/OpenSourceConsulting/atlassian-apps
3
1. Atlassian add-ons
Atlassian add-ons
- Plugin add-ons
- Atlassian Connect add-ons
Integration
- REST APIs 제공
4
1. Atlassian add-ons
Custom
Link Menu 추가
Custom 메뉴 &
화면 추가
내부 데이터 및 변
경 event를 외부
시스템으로 전송
Atlassian 내부
데이터를
업무시스템에 표시
업무시스템에서
Jira 이슈 생성
업무시스템에서
Jira 계정 생성/조회
Plugin
add-ons
Connect
add-ons
REST
APIs
Use Case
Atlassian Marketplace
5
2. Developer Environment
Java SDK + Atlassian Plugin SDK + IDE (Eclipse)
ver 1.7 ver 6.1.0
Lunar
Plugin project
생성
Jira 자동 설치
및 실행
Plugin
자동 설치
참고 : https://developer.atlassian.com/docs/getting-started/set-up-the-atlassian-plugin-sdk-and-build-a-project
6
2. Developer Environment - Set up the JDK
1. Download and Install JDK
2. JAVA_HOME 환경변수에 JDK 설치경로 등록
3. PATH 환경변수에 JAVA_HOME/bin 경로 추가
7
2. Developer Environment - Set up the Atlassian Plugin SDK
1. Download : https://marketplace.atlassian.com/plugins/atlassian-plugin-sdk-windows/server/overview
2. Run the installer EXE
3. 설치완료후 Window 재시작
4. 윈도우 cmd 창을 열고 ‘atlas-version’ 명령으로 아래와 같이 출력되면 정상임.
8
2. Developer Environment - Set up the Eclipse
1. Download and Install Eclipse IDE for Java EE (Lunar)
2. JDK 설정.
3. Maven 설정
9
3. Atlassian Plugin SDK
참고 : https://developer.atlassian.com/docs/developer-tools/working-with-the-sdk/command-reference
10
3. Atlassian Plugin SDK– Commands
SDK Commands Description
atlas-create-jira-plugin jira plugin project 를 생성한다.
atlas-mvn eclipse:eclipse eclipse project meta data 생성.
atlas-create-jira-plugin-module jira plugin module 을 추가한다.
atlas-run jira plugin project 폴더 안에서 실행되어서 plugin build에서부터
plugin 이 자동 설치된 jira 를 설치 및 실행해준다.
atlas-run-standalone atlassian 제품 를 자동 설치 및 실행해준다.
11
3. Atlassian Plugin SDK– Create Plugin Project
입력항목
12
3. Atlassian Plugin SDK - Plugin Modules
• Plugin add-on 은 반드시 하나 이상의 plugin module 을 포함해야 한다.
• atlas-create-<app>-plugin-module or annotation 으로 추가
13
• atlas-create-jira-plugin
• atlas-mvn eclipse:eclipse
• delete .classpath file
• Import Project
• convert Maven Project
• atlas-create-jira-plugin-module
• or using annotation
• atlas-run or atlas-package
• or maven build on Eclipse
• atlas-run ( on Local Jira)
• or add add-ons to Jira (file upload)
4. Plugin Development Steps
Project 생성
Eclipse import
Plugin module 추가
및
기능 구현
Build
Plugin 설치
①
②
③
④
⑤
14
4. Plugin Development Steps – Step #2 : Eclipse import
atlas-mvn eclipse:eclipse
- Eclipse 에서 인식할수 있는 eclipse project metadata 를 생성해준다.
- eclipse java project 로 생성됨.
.classpath 파일 삭제
- old version eclipse 기반 .classpath file 삭제.
Convert to Maven Project
Import Project
15
Example #1 - HelloWorld Plugin
동영상 시연
- JIRA 에 Custom Menu 생성하기 -
https://youtu.be/fgdJ1U52Ypc
16
Example #2 -Telegram 연동 Plugin
참고 :
https://developer.atlassian.com/jiradev/jira-platform/guides/other/tutorial-writing-jira-event-listeners-with-the-atlassian-event-library
https://github.com/vysheng/tg
Issue
Created
- Telegram 으로 이슈생성 메시지 보내기 -
telegram-cli
17
Example #2 -Telegram 연동 Plugin
Project 생성
Eclipse import
Plugin module 추가
및
기능 구현
Build
Plugin 설치
①
②
③
④
⑤
atlas-create-jira-plugin
18
Example #2 -Telegram 연동 Plugin
Project 생성
Eclipse import
Plugin module 추가
및
기능 구현
Build
Plugin 설치
①
②
③
④
⑤
delete
.classpath
19
Example #2 -Telegram 연동 Plugin : annotation 기반
Project 생성
Eclipse import
Plugin module 추가
및
기능 구현
Build
Plugin 설치
①
②
③
④
⑤
 atlas-create-jira-plugin-module 대신 annotation 사용
20
Example #2 -Telegram 연동 Plugin : command 기반
Project 생성
Eclipse import
Plugin module 추가
및
기능 구현
Build
Plugin 설치
①
②
③
④
⑤
 atlas-create-jira-plugin-module 사용
src/main/resources/atlassian-plugin.xml
@ExportAsService
@Named
@ComponentImport
@Inject
사용안함
21
Example #2 -Telegram 연동 Plugin
Project 생성
Eclipse import
Plugin module 추가
및
기능 구현
Build
Plugin 설치
①
②
③
④
⑤
동영상 시연
https://youtu.be/BEEBblaYyrM
22
Atlassian REST APIs
REST APIs
http
사내 업무시스템
• JIRA REST APIs
• Confluence REST APIs
• FishEye/Crucible REST APIs
• Bamboo REST APIs
• Stash REST APIs
• Crowd REST APIs
참고 : https://developer.atlassian.com/docs/atlassian-platform-common-components/rest-api-development
23
REST API Browser
참고 : https://developer.atlassian.com/docs/developer-tools/using-the-rest-api-browser
administration console > System > ADVANCED > REST API Browser
24
Atlassian REST APIs - Authentication
• Basic Authentication (JIRA 5.0 이상)
https://en.wikipedia.org/wiki/Basic_access_authentication
https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-basic-authentication
• OAuth (JIRA 5.0 이상)
https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-oauth-authentication
• Session Authentication
Example Basic Authentication
25
Atlassian REST APIs - Example
JIRA Aplication
REST APIs
Example Web
이슈 목록 조회 하기 (GET)
이슈 생성 하기 (POST)
참조 :
https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-query-issues
https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-create-issue
26
Atlassian REST APIs - Example
• 이슈 목록 조회하기
• REST API : jira/rest/api/2/search
• request parameter sample
jql=assignee=fred
Apache HttpComponents
27
Atlassian REST APIs - Example
• 이슈 생성하기
• REST API : jira/rest/api/2/issue
• rquest parameter sample
28
Atlassian REST APIs - Example
• Basic Authentication Logic
Authentication .
29
Atlassian REST APIs - Example
동영상 시연
https://youtu.be/vAwUohBgF3s
30
감사합니다 !!

Contenu connexe

En vedette

JIRA REST Client for Python - Atlassian Summit 2012
JIRA REST Client for Python - Atlassian Summit 2012JIRA REST Client for Python - Atlassian Summit 2012
JIRA REST Client for Python - Atlassian Summit 2012
Atlassian
 
Glusterfs 파일시스템 구성_및 운영가이드_v2.0
Glusterfs 파일시스템 구성_및 운영가이드_v2.0Glusterfs 파일시스템 구성_및 운영가이드_v2.0
Glusterfs 파일시스템 구성_및 운영가이드_v2.0
sprdd
 
Gluster fs guide(v1.0)
Gluster fs guide(v1.0)Gluster fs guide(v1.0)
Gluster fs guide(v1.0)
sprdd
 
Zinst 패키지 기반의-리눅스_중앙관리시스템_20140415
Zinst 패키지 기반의-리눅스_중앙관리시스템_20140415Zinst 패키지 기반의-리눅스_중앙관리시스템_20140415
Zinst 패키지 기반의-리눅스_중앙관리시스템_20140415
sprdd
 
Glusterfs 소개 v1.0_난공불락세미나
Glusterfs 소개 v1.0_난공불락세미나Glusterfs 소개 v1.0_난공불락세미나
Glusterfs 소개 v1.0_난공불락세미나
sprdd
 

En vedette (20)

[오픈소스컨설팅] Atlassian webinar 기본 트러블슈팅(1 of 2)
[오픈소스컨설팅] Atlassian webinar 기본 트러블슈팅(1 of 2)[오픈소스컨설팅] Atlassian webinar 기본 트러블슈팅(1 of 2)
[오픈소스컨설팅] Atlassian webinar 기본 트러블슈팅(1 of 2)
 
[오픈소스컨설팅]Atlassian JIRA Deep Dive
[오픈소스컨설팅]Atlassian JIRA Deep Dive[오픈소스컨설팅]Atlassian JIRA Deep Dive
[오픈소스컨설팅]Atlassian JIRA Deep Dive
 
[오픈소스컨설팅]Session 3. atlassian 도입 1년차 조직의 고민
[오픈소스컨설팅]Session 3. atlassian 도입 1년차 조직의 고민[오픈소스컨설팅]Session 3. atlassian 도입 1년차 조직의 고민
[오픈소스컨설팅]Session 3. atlassian 도입 1년차 조직의 고민
 
[오픈소스컨설팅]Session 2 1. Future of Team Collaboration
[오픈소스컨설팅]Session 2 1. Future of Team Collaboration[오픈소스컨설팅]Session 2 1. Future of Team Collaboration
[오픈소스컨설팅]Session 2 1. Future of Team Collaboration
 
[오픈소스컨설팅]Session 2 2. Future of Team Collaboration
[오픈소스컨설팅]Session 2 2. Future of Team Collaboration[오픈소스컨설팅]Session 2 2. Future of Team Collaboration
[오픈소스컨설팅]Session 2 2. Future of Team Collaboration
 
[오픈소스컨설팅]Session 4. dev ops 구성 사례와 전망
[오픈소스컨설팅]Session 4. dev ops 구성 사례와 전망[오픈소스컨설팅]Session 4. dev ops 구성 사례와 전망
[오픈소스컨설팅]Session 4. dev ops 구성 사례와 전망
 
[오픈소스컨설팅]Session 5. 또 다른 혁신, atlassian jira 7 소개
[오픈소스컨설팅]Session 5. 또 다른 혁신, atlassian jira 7 소개[오픈소스컨설팅]Session 5. 또 다른 혁신, atlassian jira 7 소개
[오픈소스컨설팅]Session 5. 또 다른 혁신, atlassian jira 7 소개
 
[오픈소스컨설팅]스카우터엑스 소개
[오픈소스컨설팅]스카우터엑스 소개[오픈소스컨설팅]스카우터엑스 소개
[오픈소스컨설팅]스카우터엑스 소개
 
I believe I can fly (Extract London 2015)
I believe I can fly (Extract London 2015)I believe I can fly (Extract London 2015)
I believe I can fly (Extract London 2015)
 
JIRA REST Client for Python - Atlassian Summit 2012
JIRA REST Client for Python - Atlassian Summit 2012JIRA REST Client for Python - Atlassian Summit 2012
JIRA REST Client for Python - Atlassian Summit 2012
 
다산선생 지식경영법 - 여박총피법
다산선생 지식경영법 - 여박총피법다산선생 지식경영법 - 여박총피법
다산선생 지식경영법 - 여박총피법
 
Glusterfs 파일시스템 구성_및 운영가이드_v2.0
Glusterfs 파일시스템 구성_및 운영가이드_v2.0Glusterfs 파일시스템 구성_및 운영가이드_v2.0
Glusterfs 파일시스템 구성_및 운영가이드_v2.0
 
Hard learned CSOM and REST tips
Hard learned CSOM and REST tipsHard learned CSOM and REST tips
Hard learned CSOM and REST tips
 
Gluster fs guide(v1.0)
Gluster fs guide(v1.0)Gluster fs guide(v1.0)
Gluster fs guide(v1.0)
 
BPMN과 JIRA를 활용한 프로세스 중심 업무 혁신 실천법
BPMN과 JIRA를 활용한 프로세스 중심 업무 혁신 실천법BPMN과 JIRA를 활용한 프로세스 중심 업무 혁신 실천법
BPMN과 JIRA를 활용한 프로세스 중심 업무 혁신 실천법
 
[AUG] 칸반을 활용한 업무 프로세스 혁신 실천법
[AUG] 칸반을 활용한 업무 프로세스 혁신 실천법[AUG] 칸반을 활용한 업무 프로세스 혁신 실천법
[AUG] 칸반을 활용한 업무 프로세스 혁신 실천법
 
Zinst 패키지 기반의-리눅스_중앙관리시스템_20140415
Zinst 패키지 기반의-리눅스_중앙관리시스템_20140415Zinst 패키지 기반의-리눅스_중앙관리시스템_20140415
Zinst 패키지 기반의-리눅스_중앙관리시스템_20140415
 
Innovation 3 3.stages of new product development
Innovation 3 3.stages of new product developmentInnovation 3 3.stages of new product development
Innovation 3 3.stages of new product development
 
Glusterfs 소개 v1.0_난공불락세미나
Glusterfs 소개 v1.0_난공불락세미나Glusterfs 소개 v1.0_난공불락세미나
Glusterfs 소개 v1.0_난공불락세미나
 
CouchDB - Introduction - Korean
CouchDB - Introduction - KoreanCouchDB - Introduction - Korean
CouchDB - Introduction - Korean
 

Similaire à Atlassian JIRA Plugin 및 REST API를 이용한 기능 확장

N02 app engineseminar
N02 app engineseminarN02 app engineseminar
N02 app engineseminar
Sun-Jin Jang
 
오픈세미나 플러그인만들기
오픈세미나 플러그인만들기오픈세미나 플러그인만들기
오픈세미나 플러그인만들기
승훈 오
 
Youtube를활용한app만들기
Youtube를활용한app만들기Youtube를활용한app만들기
Youtube를활용한app만들기
DaeHee Jang
 
Open standard open cloud engine (3)
Open standard open cloud engine (3)Open standard open cloud engine (3)
Open standard open cloud engine (3)
uEngine Solutions
 

Similaire à Atlassian JIRA Plugin 및 REST API를 이용한 기능 확장 (20)

N02 app engineseminar
N02 app engineseminarN02 app engineseminar
N02 app engineseminar
 
Spring boot DI
Spring boot DISpring boot DI
Spring boot DI
 
[AIS 2018][Team Tools_Basic] Atlassian 제품 기반의 DevOps 구성 - 투씨드
[AIS 2018][Team Tools_Basic] Atlassian 제품 기반의 DevOps 구성 - 투씨드[AIS 2018][Team Tools_Basic] Atlassian 제품 기반의 DevOps 구성 - 투씨드
[AIS 2018][Team Tools_Basic] Atlassian 제품 기반의 DevOps 구성 - 투씨드
 
Spring boot
Spring bootSpring boot
Spring boot
 
IBM Bluemix handson lab_DevOps_Target_Deploy_configutation_java_petclinic_v1.0
IBM Bluemix handson lab_DevOps_Target_Deploy_configutation_java_petclinic_v1.0IBM Bluemix handson lab_DevOps_Target_Deploy_configutation_java_petclinic_v1.0
IBM Bluemix handson lab_DevOps_Target_Deploy_configutation_java_petclinic_v1.0
 
오픈세미나 플러그인만들기
오픈세미나 플러그인만들기오픈세미나 플러그인만들기
오픈세미나 플러그인만들기
 
구글앱엔진 스터디
구글앱엔진 스터디구글앱엔진 스터디
구글앱엔진 스터디
 
[네이버오픈소스세미나] Next Generation Spring Security OAuth2.0 - 이명현
[네이버오픈소스세미나] Next Generation Spring Security OAuth2.0 - 이명현[네이버오픈소스세미나] Next Generation Spring Security OAuth2.0 - 이명현
[네이버오픈소스세미나] Next Generation Spring Security OAuth2.0 - 이명현
 
Springmvc
SpringmvcSpringmvc
Springmvc
 
Meetup tools for-cloud_native_apps_meetup20180510-vs
Meetup tools for-cloud_native_apps_meetup20180510-vsMeetup tools for-cloud_native_apps_meetup20180510-vs
Meetup tools for-cloud_native_apps_meetup20180510-vs
 
Atlassian cloud 제품을 이용한 DevOps 프로세스 구축
Atlassian cloud 제품을 이용한 DevOps 프로세스 구축Atlassian cloud 제품을 이용한 DevOps 프로세스 구축
Atlassian cloud 제품을 이용한 DevOps 프로세스 구축
 
Atlassian cloud 제품을 이용한 DevOps 프로세스 구축: Jira Cloud, Bitbucket Cloud
Atlassian cloud 제품을 이용한 DevOps 프로세스 구축: Jira Cloud, Bitbucket CloudAtlassian cloud 제품을 이용한 DevOps 프로세스 구축: Jira Cloud, Bitbucket Cloud
Atlassian cloud 제품을 이용한 DevOps 프로세스 구축: Jira Cloud, Bitbucket Cloud
 
DevOps - CI/CD 알아보기
DevOps - CI/CD 알아보기DevOps - CI/CD 알아보기
DevOps - CI/CD 알아보기
 
Youtube를활용한app만들기
Youtube를활용한app만들기Youtube를활용한app만들기
Youtube를활용한app만들기
 
Hands-on Vue Springboot Simple Admin
Hands-on Vue Springboot Simple AdminHands-on Vue Springboot Simple Admin
Hands-on Vue Springboot Simple Admin
 
okspring3x
okspring3xokspring3x
okspring3x
 
Open standard open cloud engine (3)
Open standard open cloud engine (3)Open standard open cloud engine (3)
Open standard open cloud engine (3)
 
01.개발환경 교육교재
01.개발환경 교육교재01.개발환경 교육교재
01.개발환경 교육교재
 
Android DI With Hilt
Android DI With HiltAndroid DI With Hilt
Android DI With Hilt
 
02.개발환경 실습교재
02.개발환경 실습교재02.개발환경 실습교재
02.개발환경 실습교재
 

Atlassian JIRA Plugin 및 REST API를 이용한 기능 확장

  • 1. 우리 회사 업무 시스템과 아틀라시안의 만남 - Build Atlassian add-ons - 권봉진 부장, 오픈소스컨설팅
  • 2. 2 목차 1. Atlassian add-ons 2. Deveolper Environment 3. Atlassian Plugin SDK 4. Plugin Development Steps 5. Example #1 - Helloworld Plugin 6. Example #2 - Telegram Plugin 7. REST APIs & Example 예제소스 : https://github.com/OpenSourceConsulting/atlassian-apps
  • 3. 3 1. Atlassian add-ons Atlassian add-ons - Plugin add-ons - Atlassian Connect add-ons Integration - REST APIs 제공
  • 4. 4 1. Atlassian add-ons Custom Link Menu 추가 Custom 메뉴 & 화면 추가 내부 데이터 및 변 경 event를 외부 시스템으로 전송 Atlassian 내부 데이터를 업무시스템에 표시 업무시스템에서 Jira 이슈 생성 업무시스템에서 Jira 계정 생성/조회 Plugin add-ons Connect add-ons REST APIs Use Case Atlassian Marketplace
  • 5. 5 2. Developer Environment Java SDK + Atlassian Plugin SDK + IDE (Eclipse) ver 1.7 ver 6.1.0 Lunar Plugin project 생성 Jira 자동 설치 및 실행 Plugin 자동 설치 참고 : https://developer.atlassian.com/docs/getting-started/set-up-the-atlassian-plugin-sdk-and-build-a-project
  • 6. 6 2. Developer Environment - Set up the JDK 1. Download and Install JDK 2. JAVA_HOME 환경변수에 JDK 설치경로 등록 3. PATH 환경변수에 JAVA_HOME/bin 경로 추가
  • 7. 7 2. Developer Environment - Set up the Atlassian Plugin SDK 1. Download : https://marketplace.atlassian.com/plugins/atlassian-plugin-sdk-windows/server/overview 2. Run the installer EXE 3. 설치완료후 Window 재시작 4. 윈도우 cmd 창을 열고 ‘atlas-version’ 명령으로 아래와 같이 출력되면 정상임.
  • 8. 8 2. Developer Environment - Set up the Eclipse 1. Download and Install Eclipse IDE for Java EE (Lunar) 2. JDK 설정. 3. Maven 설정
  • 9. 9 3. Atlassian Plugin SDK 참고 : https://developer.atlassian.com/docs/developer-tools/working-with-the-sdk/command-reference
  • 10. 10 3. Atlassian Plugin SDK– Commands SDK Commands Description atlas-create-jira-plugin jira plugin project 를 생성한다. atlas-mvn eclipse:eclipse eclipse project meta data 생성. atlas-create-jira-plugin-module jira plugin module 을 추가한다. atlas-run jira plugin project 폴더 안에서 실행되어서 plugin build에서부터 plugin 이 자동 설치된 jira 를 설치 및 실행해준다. atlas-run-standalone atlassian 제품 를 자동 설치 및 실행해준다.
  • 11. 11 3. Atlassian Plugin SDK– Create Plugin Project 입력항목
  • 12. 12 3. Atlassian Plugin SDK - Plugin Modules • Plugin add-on 은 반드시 하나 이상의 plugin module 을 포함해야 한다. • atlas-create-<app>-plugin-module or annotation 으로 추가
  • 13. 13 • atlas-create-jira-plugin • atlas-mvn eclipse:eclipse • delete .classpath file • Import Project • convert Maven Project • atlas-create-jira-plugin-module • or using annotation • atlas-run or atlas-package • or maven build on Eclipse • atlas-run ( on Local Jira) • or add add-ons to Jira (file upload) 4. Plugin Development Steps Project 생성 Eclipse import Plugin module 추가 및 기능 구현 Build Plugin 설치 ① ② ③ ④ ⑤
  • 14. 14 4. Plugin Development Steps – Step #2 : Eclipse import atlas-mvn eclipse:eclipse - Eclipse 에서 인식할수 있는 eclipse project metadata 를 생성해준다. - eclipse java project 로 생성됨. .classpath 파일 삭제 - old version eclipse 기반 .classpath file 삭제. Convert to Maven Project Import Project
  • 15. 15 Example #1 - HelloWorld Plugin 동영상 시연 - JIRA 에 Custom Menu 생성하기 - https://youtu.be/fgdJ1U52Ypc
  • 16. 16 Example #2 -Telegram 연동 Plugin 참고 : https://developer.atlassian.com/jiradev/jira-platform/guides/other/tutorial-writing-jira-event-listeners-with-the-atlassian-event-library https://github.com/vysheng/tg Issue Created - Telegram 으로 이슈생성 메시지 보내기 - telegram-cli
  • 17. 17 Example #2 -Telegram 연동 Plugin Project 생성 Eclipse import Plugin module 추가 및 기능 구현 Build Plugin 설치 ① ② ③ ④ ⑤ atlas-create-jira-plugin
  • 18. 18 Example #2 -Telegram 연동 Plugin Project 생성 Eclipse import Plugin module 추가 및 기능 구현 Build Plugin 설치 ① ② ③ ④ ⑤ delete .classpath
  • 19. 19 Example #2 -Telegram 연동 Plugin : annotation 기반 Project 생성 Eclipse import Plugin module 추가 및 기능 구현 Build Plugin 설치 ① ② ③ ④ ⑤  atlas-create-jira-plugin-module 대신 annotation 사용
  • 20. 20 Example #2 -Telegram 연동 Plugin : command 기반 Project 생성 Eclipse import Plugin module 추가 및 기능 구현 Build Plugin 설치 ① ② ③ ④ ⑤  atlas-create-jira-plugin-module 사용 src/main/resources/atlassian-plugin.xml @ExportAsService @Named @ComponentImport @Inject 사용안함
  • 21. 21 Example #2 -Telegram 연동 Plugin Project 생성 Eclipse import Plugin module 추가 및 기능 구현 Build Plugin 설치 ① ② ③ ④ ⑤ 동영상 시연 https://youtu.be/BEEBblaYyrM
  • 22. 22 Atlassian REST APIs REST APIs http 사내 업무시스템 • JIRA REST APIs • Confluence REST APIs • FishEye/Crucible REST APIs • Bamboo REST APIs • Stash REST APIs • Crowd REST APIs 참고 : https://developer.atlassian.com/docs/atlassian-platform-common-components/rest-api-development
  • 23. 23 REST API Browser 참고 : https://developer.atlassian.com/docs/developer-tools/using-the-rest-api-browser administration console > System > ADVANCED > REST API Browser
  • 24. 24 Atlassian REST APIs - Authentication • Basic Authentication (JIRA 5.0 이상) https://en.wikipedia.org/wiki/Basic_access_authentication https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-basic-authentication • OAuth (JIRA 5.0 이상) https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-oauth-authentication • Session Authentication Example Basic Authentication
  • 25. 25 Atlassian REST APIs - Example JIRA Aplication REST APIs Example Web 이슈 목록 조회 하기 (GET) 이슈 생성 하기 (POST) 참조 : https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-query-issues https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-create-issue
  • 26. 26 Atlassian REST APIs - Example • 이슈 목록 조회하기 • REST API : jira/rest/api/2/search • request parameter sample jql=assignee=fred Apache HttpComponents
  • 27. 27 Atlassian REST APIs - Example • 이슈 생성하기 • REST API : jira/rest/api/2/issue • rquest parameter sample
  • 28. 28 Atlassian REST APIs - Example • Basic Authentication Logic Authentication .
  • 29. 29 Atlassian REST APIs - Example 동영상 시연 https://youtu.be/vAwUohBgF3s