jira

Ubuntu 14.04下安装Gitlab

*爱你&永不变心* 提交于 2019-12-01 17:20:03
GitLab : GitLab 是一个用于仓库管理系统的开源项目。使用 Git 作为代码管理工具,并在此基础上搭建起来的 web 服务。它提供 Git 版本控制、代码检查、 Bug 跟踪和 Wiki ,它可以通过 LDAP 或活动目录来进行安全认证和授权。单个 GitLab 可以支持 25000 个用户,同时它也可以通过设置多台服务器来实现其高可用性。 按照官方文档: https://packages.gitlab.com/gitlab/gitlab-ce/install https://packages.gitlab.com/gitlab/gitlab-ce [ 命令行下 apt-get 或者 aptitude 超时 ] 安装对应的依赖并安装对应版本: sudo apt-get install curl openssh-server ca-certificates postfix curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash sudo apt-get update && sudo apt-get install gitlab-ce=7.11.4~omnibus-1 上面操作会出现超时,直接使用给出的链接下载对应的 deb 包

Atlassian JIRA Plugin Development: How to make variables available to velocity templates

北慕城南 提交于 2019-12-01 16:43:55
FAIR WARNING: this question is going to be pretty tough to answer unless you have experience with JIRA and have access to their source (enterprise users). Greetings all, I am writing a plugin which extends AbstractIssueSelectAction. I noticed that ${issue.summary} , etc are all available from within my velocity template, however, there are other things I wish to expose. I can't figure out how to add other things to the velocity parameter map. I even used a remote debugger to try to step through the stack and figure out what is going on - but it was pretty unclear to me both due to a deep stack

Python操作Jira

与世无争的帅哥 提交于 2019-12-01 16:31:52
目录 认证 项目(Project) 问题(Issue) 配置域(Fields) 关注者/评论/附件 创建/分配/转换问题 搜索 Jira提供了完善的RESTful API,如果不想直接请求API接口可以使用Python的Jira库来操作Jira Jira Python文档 安装方法 pip install jira 认证 Jira的访问是有权限的,在访问Jira项目时首先要进行认证,Jira Python库提供了3种认证方式: 通过Cookis方式认证(用户名,密码) 通过Basic Auth方式认证(用户名,密码) 通过OAuth方式认证 认证方式只需要选择一种即可,以下代码为使用Cookies方式认证。 form jira import JIRA jira = JIRA('http://jira.***.com/', auth=('用户名', '登录密码') 返回的jira对象便可以对Jira进行操作。主要的操作包括: 项目 问题 搜索 关注者 评论 附件 项目(Project) jira.projects(): 查看所有项目列表 jira.project("项目的Key"): 查看单个项目 项目对象的主要属性及方法如下: key: 项目的Key name: 项目名称 description: 项目描述 lead: 项目负责人 projectCategory: 项目分类

Java开发人员必备十大工具

…衆ロ難τιáo~ 提交于 2019-12-01 12:37:24
Java世界中存在着很多工具,从著名的IDE(例如Eclipse,NetBeans和IntelliJ IDEA)到JVM profiling和监视工具(例如JConsole,VisualVM,Eclipse Memory Analyzer等)。 在本文中,我将重点介绍适用于各种Java开发人员(例如核心Java和Web开发人员)的通用工具。该列表绝没有罗列出完整工具,如果您知道开发人员应该学习的一些好的工具,请在评论部分与大家分享吧。 1. Git 对于Java程序员,Git是更重要的工具之一。它是一个免费的开源分布式版本控制系统,旨在快速高效地处理从小型到大型项目的所有内容。Git易于学习,占地面积小,具有闪电般的性能,但不幸的是,我还没有广泛地研究Git。我已经使用Git使用Eclipse从GitHub下载开源项目和示例,但是我还没有掌握Git命令行。 2.Docker Docker是一个开源工具,用于自动在云或物理服务器上部署应用程序。它允许开发人员和系统管理员在笔记本电脑,数据中心VM或云上构建,交付和运行分布式应用程序。 3.Jenkins Jenkins是用Java编写的开源自动化服务器。它有助于自动化软件开发过程中非人工的部分,例如,编译项目,运行单元测试,集成测试以及生成文档并在本地和远程存储库上上传工件。它是在项目中进行持续集成和实施持续交付的最受欢迎的工具之一。

Find parents issues which contains subtasks with label

ⅰ亾dé卋堺 提交于 2019-12-01 12:08:44
I have a JIRA project and some of my tasks contains subtasks with lasbels "needDesign". Is it possible to find all parent tasks which contains subtasks with that label? (I use ondemand jira version) Jira JQL doesn't not provide this out of the box, however there are many add-ons that extend JQL to allow this. I would normally suggest you install the Script Runner add-on (see https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner ) as it contains many useful built-in functions to perform searches in JQL like the one you are asking about. The particular function for

Jira Soap with a Php

两盒软妹~` 提交于 2019-12-01 11:55:22
I have seen little to know instruction on using php to develop a client website to make remote calls to JiRA. Currently I'm trying to make a soap client using JSP/Java to connect to a local jira instance. I would like to create and search issues that is all. We are currently having some problems using Maven2 and getting all the files we need from the repository since we are behind a major firewall(yes I've used the proxy). I have a lot of experience with PHP and would like to know if using the PHP soapclient calls can get the job done. http://php.net/manual/en/soapclient.soapclient.php Yes it

SonarQube cannot connect to JIRA 7 with REST API

亡梦爱人 提交于 2019-12-01 08:46:59
问题 I am trying to connect my SonarQube installation to JIRA 7.0.2 for issue linking. I have filled the configuration fields (Files attached), but I get the error, impossible to connect to JIRA server. Both JIRA and SonarQube are on the same server. 回答1: The JIRA Plugin is not compatible with JIRA 7 or newer (does not support REST). From SonarQube Wiki: Jira 3.x supported by 1.0, 1.1, 1.2 Jira 4.x supported by 1.0, 1.1, 1.2 Jira 5.x supported by 1.0, 1.1, 1.2 Jira 6.x supported by 1.2 There is an

Listing All JIRA Transitions via API

浪子不回头ぞ 提交于 2019-12-01 07:34:49
I'm looking to set up smart commits in JIRA, but my developers want to know all the options for their transitions. In order to help them, I'd like to print a cheat-sheet of all transition names (I trust they are smart enough to figure out what does what from there). But when I look through the REST API documentation, I can only find a way to get the list of transitions for a particular issue (presumably via its status). Is there a way to get the list of all transitions that any ticket can take at any point in its workflow? You can get all transitions for project with /rest/api/2/project/

Listing All JIRA Transitions via API

喜夏-厌秋 提交于 2019-12-01 04:58:24
问题 I'm looking to set up smart commits in JIRA, but my developers want to know all the options for their transitions. In order to help them, I'd like to print a cheat-sheet of all transition names (I trust they are smart enough to figure out what does what from there). But when I look through the REST API documentation, I can only find a way to get the list of transitions for a particular issue (presumably via its status). Is there a way to get the list of all transitions that any ticket can

Regular expression for a JIRA identifier

空扰寡人 提交于 2019-12-01 02:26:18
I'm trying to extract a JIRA identifier from a line of text. JIRA identifiers are of the form [A-Z]+-[0-9] - I have the following pattern: foreach my $line ( @textBlock ) { my ( $id ) = ( $line =~ /[\s|]?([A-Z]+-[0-9]+)[\s:|]?/ ); push @jiraIDs, $id if ( defined $id && $id !~ /^$/ ); } This doesn't cope if someone specifies some text which contains the pattern inside another string - for example blah_blah_ABC-123 would match upon ABC-123. I don't want to mandate that there must be a space or other delimiter in front of the match as that would fail if the identifier were at the start of the