Comments (13)
저도 동일합니다.
저희는 프로젝트가 4개 뿐인데도 하나랑 TEST 란게 뜨네요.
그리고 log console에 No jira/globalnavigator/breadcrumbs/bridge 에러가..
from jira-search-helper.
저희 쪽 설치형 jira 에서는 store.ts 의 getProjectList() 에서 사용하는 rest/api/2/project/search 로는 404 가 떠서
이 api 로 요청, 응답을 변경하니 되긴 합니다.
from jira-search-helper.
@oscarplex 클라우드형에서는 반대로 rest/api/2/project 가 404 떠서, JIRA 환경별로 다를 수가 있을 것 같아요.
그래서 이걸 pr 로 요청하기가 애매하더라고요... 일단은 수정한 버전으로 감사히 쓰겠습니다. ㅎㅎ
from jira-search-helper.
엇.. 저희는 클라우드 형인데, 목록이 아주 많이 나오기는 하지만 전체는 아닌 상황이에요. 페이징이 걸려있을지도 모르겠네요.
from jira-search-helper.
v1.1.0 릴리즈로 해결되어 이슈를 닫습니다.
from jira-search-helper.
@oscarplex 클라우드형에서는 반대로 rest/api/2/project 가 404 떠서, JIRA 환경별로 다를 수가 있을 것 같아요.
from jira-search-helper.
@wafe 현재는 /rest/api/2/project
JIRA API 통하여 HTTP GET 요청하고 있는데, JIRA 버전 및 설치형(on-premise)에 따라 다른지 확인 필요할 것 같아요.
AS-IS(현재)
/rest/api/2/project
만 고려하여 프로젝트 목록 요청
TO-BE(개선 방향)
- JIRA 버전 및 설치형(on-premise)에 따라 다른지 확인 필요
from jira-search-helper.
엇.. 저희는 클라우드 형인데, 목록이 아주 많이 나오기는 하지만 전체는 아닌 상황이에요. 페이징이 걸려있을지도 모르겠네요.
/rest/api/2/project/search
확인해보니 말씀하신 것처럼 페이징이 50개까지가 기본값이네요. JIRA Rest Docs를 살펴보았는데 maxResults=100
으로 파라미터를 주고 있음에도, 50 초과하여 받아오지 못하는걸 보아 API Spec 상 지원 안되는 것 같아요.
현재 maxResults
파라미터
현재 Response
Request
Response
from jira-search-helper.
개선을 위해서 결론은 isLast
=== true
가 될때까지 API 요청이 필요할 것 같아요.
from jira-search-helper.
설치된 크롬 확장 기능을 개발자 모드로 수정(정렬을 프로젝트 key로)해서 제가 원하는 프로젝트 검색을 해보니 검색이 잘 됩니다! :)
minify 된 코드라서 루프돌면서 isLast true 일 때까지 수정하는 것은 못해봤습니다...
다만, 한글 두글자만 검색하려고 하면 결과가 안나오는 문제가 있는데 이게 JIRA 문제일지 아닌지 모르겠습니다.
from jira-search-helper.
CheckList
- 설치형 JIRA를 위한 옵션 추가 (요청 API Path 변경)
- 프로젝트 전체 목록을 가져오기위한 로직 추가
from jira-search-helper.
주말에 잠깐 살펴봤는데, 정확하게는 Get All Ptojects API가 Deprecated되어, 클라우드형에서 사용은 비권장되고(작동은 함)
JIRA On-premise 환경에서는 사용 권고되는 /rest/api/2/project/search
가 반대로 없어 문제가 되는 이슈로 판단됩니다.
그래서 두가지 옵션 둘다 제공을 위해 별도 옵션을 추가하였습니다.
- 추가사항.
/rest/api/2/project/search
에서는 페이징 처리가 되어 50개 최대로 들고올 수 없어 별도로 프로젝트를 전부 가져오는 로직을 추가하였습니다. (관련 커밋)
from jira-search-helper.
위 내용은 v1.0.1 패치내역에 포함되어 해결될 예정으로 v1.0.1 릴리즈되면 이슈 정상해결로 클로즈하겠습니다.
from jira-search-helper.
Related Issues (17)
- Add Command - Command+Shift+I - Open Jira Searh modal HOT 1
- Update issues when changes to project
- Add *.atlassian.net url in content_scripts
- Support for highlighting the title
- Setting - Custom shortcuts
- 프로젝트 이름표시 추가 HOT 4
- Setting - Custom Command Shortcuts HOT 2
- chrome extension의 popup을 활용해 custom domain을 적용하면 좋을 것 같습니다 HOT 3
- Autofocus when open modal
- Setting - sync on/off
- Press esc to close the search window
- Limit current search results to 20 -> Support with full search options
- UI - Select Project Filter
- Add Help Text(tooltip) - comamnd+shift+I
- Support for issuekey search
- Update README.md HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jira-search-helper.