jira

Jira Rest Api for getting full user list

倖福魔咒の 提交于 2019-12-22 09:13:08
问题 How can I get the list of all users using Jira Rest Apis. I have tried:- /rest/api/latest/user/search?username= Here I tried with blank username string but it doesn't return full user list. We only get some results when username is of at-least 1 length. How can I get full users list from Jira rest API's ?? 回答1: I don't think the Rest API has this ability. As far as I know you'll have to choose a different way, for example you could use the Soap API to do so as shown in this question JIRA SOAP

JiraWiki集成crowd记录

走远了吗. 提交于 2019-12-22 04:23:05
单点登录与统一用户区别? 单点登录: 1.配置JIRA/atlassian-jira/WEB-INF/classes/seraph-config.xm 取消此行的注释: <authenticator class=“com.atlassian.confluence.user.ConfluenceCrowdSSOAuthenticator”> <authenticator class=“com.atlassian.jira.security.login.SSOSeraphAuthenticator”> 将此行注释: <authenticator class=“com.atlassian.confluence.user.ConfluenceAuthenticator”> <authenticatorclass=“com.atlassian.jira.security.login.JiraSeraphAuthenticator”> 2.配置jira中的Jira/WEB-INF/classes/crowd.properties application.name confluence application.password 设置的confluence访问密码 application.login.url http://localhost:8095/crowd/console/ crowd

confluence REST API request while not being admin ends in 401 error

可紊 提交于 2019-12-22 01:16:49
问题 i am developing confluence blueprint where a user can choose between jira projects and use them for specific jira issues report. both instances are connected correctly with each other and i get results but only if i am logged as an admin. with normal user i am getting this: <status> <status-code>401</status-code> <message>This resource requires WebSudo.</message> </status> unfortunately i have to get the information from the jira server as ajax post request with javascript and here is my code

How to hide some issue link types in the Issue Link pop up window for Jira 5.1.8 using javascript?

允我心安 提交于 2019-12-22 00:35:32
问题 I wanted to hide some issue link outward & inwards strings of Link type from the Link Issues Popup Window using java script. I have tried using java script but I am not getting the popup screen from the java script. Please see the screenshot below : Can anyone tell me how can I get this popup screen in the java script? Is there any other method to hide this? Thanks & Regards, Renuka. 回答1: To hide the clone issue link every page: edit the file system-webresources-plugin.xml (should be at

How do I retrieve issues of specific status with JQL

放肆的年华 提交于 2019-12-21 20:43:23
问题 Entering a url, or running with curl, like: https://<myurl>/rest/api/2/search?jql=project=<myproject>&status=closed&fields=id,key,status,project&maxResults=5 returns me 5 items in my project but with all statuses. For some reason I can't query for a specific status. The output (part of it) is: { "expand": "schema,names", "startAt": 0, "maxResults": 5, "total": 727, "issues": [ { "expand": "editmeta,renderedFields,transitions,changelog,operations", "id": "79577", "self": "https://<myurl>/rest

ldap系列-基础知识

陌路散爱 提交于 2019-12-21 20:34:31
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> ldap 是什么? LDAP(Lightweight Directory Access Protocol)即轻量级目录访问协议,提供 信息服务 。那啥是目录服务呢? 目录服务是一种特殊的 数据库 系统,其专门针对 读取,浏览和搜索 操作进行了特定的优化。目录一般用来包含描述性的,基于属性的信息并支持精细复杂的过滤能力。目录一般不支持通用数据库针对大量 更新 操作操作需要的复杂的事务管理或回卷策略。 LDAP目录中的信息是是按照树型结构组织,具体信息存储在条目(entry)的数据结构中。条目相当于关系数据库中表的记录;条目是具有区别名DN (Distinguished Name)的属性(Attribute),DN是用来引用条目的,DN相当于关系数据库表中的关键字(Primary Key)。属性由类型(Type)和一个或多个值(Values)组成,相当于关系数据库中的字段(Field)由字段名和数据类型组成,只是为了方便检索的需要,LDAP中的Type可以有多个Value,而不是关系数据库中为降低数据的冗余性要求实现的各个域必须是不相关的。LDAP中条目的组织一般按照地理位置和组织关系进行组织,非常的直观。LDAP把数据存放在文件中,为提高效率可以使用 基于索引 的文件数据库,而不是关系数据库。

Does the JIRA REST API require submitting a transition ID when transitioning an issue?

雨燕双飞 提交于 2019-12-21 12:59:05
问题 If I POST an issue transition like this: { "fields" : { "resolution" : { "name" : "Fixed" } } } ...I get this error: { "errorMessages" : ["Missing 'transition' identifier"], "errors" : {} } This seems to imply that I need to include a transition ID along with my list of changed fields. https://stackoverflow.com/a/14642966/565869 seems to say the same. Fine. However, transition IDs appear to be global. It's not enough to look up the highest transition ID for this issue and increment it; such

how to create a single annotation accept multiple values in Java

泄露秘密 提交于 2019-12-21 04:15:26
问题 I have a Annotation called @Retention( RetentionPolicy.SOURCE ) @Target( ElementType.METHOD ) public @interface JIRA { /** * The 'Key' (Bug number / JIRA reference) attribute of the JIRA issue. */ String key(); } which allows to add annotation like this @JIRA( key = "JIRA1" ) is there any way to allow this to happen @JIRA( key = "JIRA1", "JIRA2", ..... ) the reason is, we currently annotate the test against a Jira task or bug fix, but sometimes, then the value will get parsed by sonar.

{“errorMessages”:["Unexpected character (''' (code 39)): expected a valid value

限于喜欢 提交于 2019-12-21 04:02:23
问题 I found "Query using POST" from here. And tried to use curl command from command like. Installed curl by refering this for windows. Here is my CURL string: curl -D- -u admin:password -X POST -H "Content-Type: application/json" --data '{"jql":"project = CI","startAt":0,"maxResults":50,"fields":["summary","status","assignee"]}' "https://myclientname.atlassian.net/rest/api/2/search" This is how I'm doing and getting error: {"errorMessages":["Unexpected character (''' (code 39)): expected a valid

JIRA: Generating per-user time report?

隐身守侯 提交于 2019-12-21 03:21:13
问题 Sorry if SO is not the best place, but I have time-tracking enabled in JIRA and want to be able to generate a time-report for each user over a given date range. The only time-tracking report option I have is very limited and doesn't do what I want, is it possible through standard functionality or a free plugin perhaps? 回答1: how about this one: https://plugins.atlassian.com/plugin/details/294 回答2: You might want to check out Tempo Plugin for JIRA timetracking. It offers timesheets, reports and