jira

Strange Angular Rest call behaviour

﹥>﹥吖頭↗ 提交于 2019-12-13 03:17:25
问题 I use Angular to make a call to Atlassian JIRA's REST API. Angular is used in the context of an ionic-framework app on a device. A curl as curl -X POST 'https://url' -H 'Accept: application/json, text/plain, */*' -H 'Authorization: Basic a2someStuff' -H 'Content-Type: application/json' --data-binary '{"transition": {"id": "761"}}' Works and produces the desired result. However if I perform the query using regular angular curl -X POST 'https://url' -H 'Accept: application/json, text/plain, */*

Is there a way to display reviewers information of any given issue in the Jira Scrum Board cards?

拈花ヽ惹草 提交于 2019-12-13 01:23:26
问题 Currently, developers have to: click on each card within the "In Review" status in the Jira Scrum Board click on the "Reviews" tab click on the review link finally they are able to see who the reviewers are (if any) I would like to be able to see, at least, the number of reviewers assigned to a task directly from the Scrum Board cards in Jira as this would be much more efficient than going through each card in the "In Review" status (there may be 20 issues at any given time). Developers would

How to get a user by email in JIRA Script Runner

扶醉桌前 提交于 2019-12-12 19:24:23
问题 When writing a Groovy script for JIRA Script Runner, how do you get a user, or just their username, given their email address? It seems that you're supposed to use the findUsersByEmail method in the UserSearchService interface. https://docs.atlassian.com/jira/7.0.2/com/atlassian/jira/bc/user/search/UserSearchService.html But how do you get an instance of this class? Related question: How to get a user by email in a JIRA plugin. The difference is that question is about a plugin, and my

JQL to get blocked Issues

别来无恙 提交于 2019-12-12 18:23:54
问题 Is there a native JQL (not a plugin) that returns tickets that have linked issues listed as "is blocked by" (so I can see all my blocked tickets). All I have found is linkedIssues() but that can require a specific issue ID to search for which is entirely unhelpful. I am using Jira Cloud 7.4. 回答1: In the core JIRA JQL functionality the closest thing you have, as you've already found out, is linkedIssues() that requires a parent Issue reference. What you need is Adaptavist ScriptRunner, they

Custom field - display even when no value set

拈花ヽ惹草 提交于 2019-12-12 18:23:02
问题 I added a non-mandatory custom filed in JIRA, but the field is displayed only when the value is set via the Edit Issue screen. The 'Where is my field' helper says: The field 'Story URL' does not have value for issue XXX-1234 and will not be displayed on the view issue page. Set value for that field so that it shows up. I would like the field to be shown even if the value is not set. Is this possible? This is so the field is visible and so it can be added using the inline editor (you can edit

Creating a new “JIRA issue” using REST API in java

邮差的信 提交于 2019-12-12 18:18:27
问题 Hey guys i am really struggling with this, i would like to create new JIRA issues using java through the REST API but every example i have seen is incomplete or doesnt work for me like this one: How to create an issue in jira using java rest api Any help, sample code or link to the right direction would be greatly appreciated! 回答1: I think this sample code is helps u This is totlly working for me public static String invokePostMethod() throws AuthenticationException, ClientHandlerException,

信必优功能测试

…衆ロ難τιáo~ 提交于 2019-12-12 17:02:52
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 信必优提供优质功能测试服务的特点: 在用例设计上保证测试的充分性。 在测试用例的设计上建立用例与用户需求之间的映射关系,保证所有用户的需求都得到覆盖验证。邀请客户参与用例的评审,确保对测试场景的正确理解,重点测试客户最关心的业务。 在采用敏捷方式的项目上除了验证每一轮的user story之外,还关注随着系统的逐渐完善所需的集成测试,保证已完成软件作为一个整体的质量,而不仅仅是本轮开发功能的质量。 执行安排上保证安排的合理性。 根据业务的重要性,使用频率,缺陷可能带来的影响确定测试用例的优先级。 开发参与测试计划的评审,保证核心的,影响大的业务得到优先测试,降低项目风险。 结果分析上提高测试的有效性。 使用CAR分析方法,协助开发找到缺陷的根源,彻底解决和预防缺陷。 对每轮测试的情况评估被测试系统的质量,使用ODC方法调整测试重点,用有限的测试资源提高高缺陷密度模块的质量。 工具支撑提高过程的规范性。 遵守公司与客户的规定,使用JIRA监控工作,使测试按计划有条不紊地进行。 使用ClearQuest, Mantis等工具管理缺陷,严格按照流程进行缺陷提交与回归测试,保证缺陷解决无遗漏。 信必优功能测试流程: 分解并分析功能设计规格说明 将功能细分为若干类,并对每一类列出详细的功能 对每一功能,确定其输入和输出

Post attachment to Jira using REST API in c#

天涯浪子 提交于 2019-12-12 16:06:10
问题 I Have a problem. When I want to POST some attachment to JIRA using REST API i have a Web Exception with 404 code (not found). My method takes CookieContainer to authenticate User. This is my code: HttpWebResponse response; string path = "C:\\Users\\xxxx\\Documents\\nowy.txt"; var boundary = string.Format("----------{0:N}", Guid.NewGuid()); request.CookieContainer = new CookieContainer(); foreach (Cookie c in responseCookies) request.CookieContainer.Add(c); request.ContentType = String.Format

Dev 日志 | 如何将 jar 包发布到 Maven 中央仓库

女生的网名这么多〃 提交于 2019-12-12 14:20:49
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 摘要 Maven 中央仓库并不支持直接上传 jar 包,因此需要将 jar 包发布到一些指定的第三方 Maven 仓库,比如:Sonatype OSSRH 仓库,然后该仓库再将 jar 包同步到 Maven ,本文详细记录整个发布、同步过程。 注册一个 Sonatype 用户 进入地址: https://issues.sonatype.org/secure/Signup!default.jspa 注册 Sonatype 用户,Sonatype 通过 JIRA(JIRA 是 Atlassian 公司出品的项目与事务跟踪工具)来管理 OSSRH 仓库。<br /> 创建一个发布构件的 issue 提交「构件发布申请」的第一步是在 JIRA Dashborad 上创建一个 issue。如下所示,点击 Create 按钮: 会弹出一个对话框让你填写 issue 的详细信息,这里最重要的就是 Group Id,一般会带上域名,千万别弄错了,这关系到以后发布其它的构件。我们这里是 com.vesoft 。 Sonatype 有域名验证,验证方式: 往你的 DNS 中添加 JIRA 编号记录 重定向到你的 Github 主页 如果你没有域名,可参考这个链接: http://central.sonatype.org/pages

Maven 3 transitive dependencies of test dependency are marked as compile, why?

时光总嘲笑我的痴心妄想 提交于 2019-12-12 13:33:26
问题 I observed a strange behaviour in my maven 3.0.5 / JDK 1.7 build. Within the dependency tree I found TEST -resources that have transitive COMPILE dependencies (see section 1 below). This triggers than in a subsequent build phase that maven-jira-plugin:4.2.20 unpacks these resources to the target/class folder (In effect this is the expected/normal behaviour, but not desired here, see section 2 below) On an other machine, (same Maven/JDK version) these dependencies are not marked as COMPILE and