jira

Jira Rest Java Client: missing ApacheHttpClientConfig from Jersey

谁都会走 提交于 2019-12-02 06:58:11
问题 I'm following the JRJC tutorial, and the second line here: final JerseyJiraRestClientFactory factory = new JerseyJiraRestClientFactory(); final JiraRestClient restClient = factory.createWithBasicHttpAuthentication(jiraServerUri, username, password); Throws this: Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/jersey/client/apache/config/ApacheHttpClientConfig at com.atlassian.jira.rest.client.internal.jersey.JerseyJiraRestClientFactory.create(JerseyJiraRestClientFactory

Jira Rest Java Client: missing ApacheHttpClientConfig from Jersey

こ雲淡風輕ζ 提交于 2019-12-02 05:19:28
I'm following the JRJC tutorial, and the second line here: final JerseyJiraRestClientFactory factory = new JerseyJiraRestClientFactory(); final JiraRestClient restClient = factory.createWithBasicHttpAuthentication(jiraServerUri, username, password); Throws this: Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/jersey/client/apache/config/ApacheHttpClientConfig at com.atlassian.jira.rest.client.internal.jersey.JerseyJiraRestClientFactory.create(JerseyJiraRestClientFactory.java:34) ... Caused by: java.lang.ClassNotFoundException: com.sun.jersey.client.apache.config

阿里云添加二级域名

点点圈 提交于 2019-12-02 04:22:53
1,http://www.aliyun.com登录,点击”云解析“,找到要解析的一级域名ueionline.com,点击右侧“解析”按钮。 点击“添加解析”,依次填入:记录类型:A,二级域名前缀jira,记录值:目标IP(不含端口),其他默认,点击“保存”。 2,cmd,ping jira.ueionline.com ,如出现ip地址,表名解析成功。 3,登录目标服务器,修改nginx配置文件: vim /data/server/nginx/conf/nginx.conf 复制如下模块: server { listen 80; #监听的端口 server_name jira.ueionline.com; #监听的域名 location / { proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://101.200.172.108:9090; #跳转的url和接口 } access_log logs/jira_access.log; #生成的日志,只需修改:jira_access.log,文件自动生成。 }

how to create an issue in jira using the rest api (java)?

半世苍凉 提交于 2019-12-02 03:07:54
How to create issue in jira using the rest api. I have tried the examples using curl. But I need to create defect in eclipse using java and rest api. You want to integrate JIRA into Eclipse? See: https://confluence.atlassian.com/display/IDEPLUGIN/Working+with+JIRA+Issues+in+Eclipse You want a custom application to create tickets automagically? Probably you'll need a REST client using the jersey-client artifact, I think this is the easiest way. Firstly, check out the REST API documentation: https://docs.atlassian.com/jira/REST/latest/ With the POST method you can push a JSON object depiciting a

Access JIRA API with api key without username and password

♀尐吖头ヾ 提交于 2019-12-02 02:15:16
Currently I'm accessing JIRA API in C#.Net application with username and password. But I need to access the JIRA API without entering a username and a password even without hashed username and passwords. Is there any way to create an API key and access JIRA API with that? Yes, JIRA supports OAuth for that purpose, see: https://developer.atlassian.com/display/JIRADEV/JIRA+REST+API+Example+-+OAuth+authentication Unfortunately there's no C# sample code provided, but you should be able to assemble a solution from the other programming languages here: https://bitbucket.org/atlassian_tutorial

Confluence整合Jira

空扰寡人 提交于 2019-12-01 22:59:52
将Confluence连接到Jira应用程序: 在您的Jira应用程序中,转至 > 用户管理 > Jira用户服务器 。 (对于Jira 6.4及更早版本,请转至Jira管理界面,然后选择 用户 > Jira用户服务器 ) 点击 Add Application 。 输入Confluence在访问Jira时将使用的 应用程序名称 和 密码 。 输入您的Confluence服务器的 IP地址 或地址。有效值是: 完整的IP地址,例如 192.168.10.12 。 通配符IP范围,使用CIDR表示法,例如 192.168.10.1/16 。有关更多信息,请参阅 Wikipedia 和 RFC 4632 上CIDR表示法 的介绍。 保存 新的应用程序。 在Confluence中设置Jira用户目录: 选择 齿轮图标 ,然后选择 常规配置 点击左侧面板中的“ 用户目录 ”。 添加 一个目录并选择类型' Atlassian Jira '。 按照下面的描述输入设置。当询问 应用程序名称 和 密码时 ,在Jira的设置中输入您为Confluence应用程序定义的值。 保存目录设置。 在完成下一步之前不要更改目录顺序,否则您可能会意外地将自己锁定在Confluence管理控制台之外。 为了使用Confluence,用户必须是该 confluence-users 组的成员, 或让Confluence

Confluence 6 如何考虑设置一个空间的主页

随声附和 提交于 2019-12-01 22:59:38
这空间是干什么的? 空间主页是访问你空间的用户最先看到的页面。如果你在这个页面中包含一些你空间是干什么的内容能够帮助你的用户更加容易的访问你的空间,同时也能够让你的用户更加容易了解你正在工作的事情。你可以使用 Info, Tip, Note, and Warning Macros 来创建带有颜色的对话框,然后将信息放在里面。 这个空间是什么? 你可以使用 Content Report Table Macro 来创建你空间内容的列表。同时你也可以用这个宏来设置仅显示特定的标签。如果你希望显示一些内容,你可以使用这个宏,然后将要显示的内容使用标签进行过滤。你可以通过对页面和博客页面中添加特定的标签后,将内容使用标签过滤到页面中。 使用标签组织你的空间 你可以在你的空间中使用标签来组织你的内容。例如,你现在有一个学习和开发的空间,你可以为在线学习资源,将要学习的内容,和培训策略创建不同的标签。然后你可以使用 Labels List Macro 来为这些标签创建不同的显示列表。这样能够让访问你空间的用户更加容易的通过标签来找到他们希望访问的主题。 添加搜索对话框能够让你更加容易在空间中查找 Livesearch Macro 能够允许你的你的 Confluence 页面中创建搜索对话框,这个搜索对话框只能对你空间的内容进行搜索,不能进行全站搜索。 在你空间中让所有人都获得空间的最新更新信息

Ensure github PR squash merge commit comments contain issue ID

戏子无情 提交于 2019-12-01 21:49:12
问题 How can I ensure commit comments from a github PR squash merge contains required text? We use Jira + Github and if a use enters Jira issue IDs in commit comments those a commits become linked to the Jira issues. When users merge a PR from their private feature branch, they usually squash and merge which means the user can manually summarize the intent of the single commit from that branch to a larger integration branch or master. If a user forgets to enter them when they merge the PR, it

RestSharp POST request translation from cURL request

房东的猫 提交于 2019-12-01 21:27:18
I'm trying to make a POST request using RestSharp to create an issue in JIRA, and what I have to work with is an example that uses cURL. I'm not familiar with either enough to know what I'm doing wrong. Here's the example given in cURL: curl -D- -u fred:fred -X POST --data {see below} -H "Content-Type: application/json" http://localhost:8090/rest/api/2/issue/ Here's their example data: {"fields":{"project":{"key":"TEST"},"summary":"REST ye merry gentlemen.","description":"Creating of an issue using project keys and issue type names using the REST API","issuetype":{"name":"Bug"}}} And here's

Adding Jira comment using soap in PHP [closed]

穿精又带淫゛_ 提交于 2019-12-01 18:25:35
How to add comment in Jira using SOAP in PHP? $soapClient = new SoapClient("https://YOUR_JIRA_DOMAIN.com/rpc/soap/jirasoapservice-v2?wsdl"); $token = $soapClient->login($username, $password); $soapClient->addComment($token, $issueKey, array('body' => "your comment")); References http://docs.atlassian.com/software/jira/docs/api/rpc-jira-plugin/latest/com/atlassian/jira/rpc/soap/JiraSoapService.html#addComment%28java.lang.String,%20java.lang.String,%20com.atlassian.jira.rpc.soap.beans.RemoteComment%29 https://bitbucket.org/rewbs/satellites-talk-samples/src/cd22351cf368/IssuesFromFilter.php http: