jira

Delete issue in JIRA using Java

烂漫一生 提交于 2019-12-24 04:32:24
问题 I am trying to write a method to delete an issue in JIRA. I already have methods to create and update issues, but I cannot find any documentation on how to delete an issue using Java. How can I delete a JIRA issue from a Java application? 回答1: You can try delete from IssueService: https://docs.atlassian.com/jira/latest/com/atlassian/jira/bc/issue/DefaultIssueService.html#delete(com.atlassian.crowd.embedded.api.User, com.atlassian.jira.bc.issue.IssueService.DeleteValidationResult) 回答2: You can

create Jira issue via REST api and jquery 405 method not allowed

我的未来我决定 提交于 2019-12-24 00:54:07
问题 When using the following jquery call I receive a http 405 method not allowed error message. Does anybody know how to solve this? Is it due to the https? I tried it also with type GET and PUT with the same result function make_base_auth(user, password) { var tok = user + ':' + password; var hash = btoa(tok); return "Basic " + hash; } function createJiraIssue() { var datos = { "fields": { "project": { "key": "HELP" }, "summary": "Test Ticket", "description": "Creating of an issue using project

Get a list of users from Atlassian's Cloud / On-Demand Service

旧街凉风 提交于 2019-12-24 00:45:37
问题 I'm trying to pull a list of users from our Atlassian Confluence/Jira instance. However I'm struggling to find good documentation on what REST services are available, and it seems the SOAP services are deprecated. The following code does get results, but we have over 100 users, and this returns 0. if(-not ($credentials)) { #put this here so I can rerun the same script in the same IDE session without having to reinput credentials each time $credentials = get-credential 'myAtlassianUsername' }

jira使用

为君一笑 提交于 2019-12-24 00:08:49
JIRA的生产者把JIRA定义为Professional Issue Tracker,即它是一个专业的问题跟踪管理的软件。这里的”问题”对应的英文单词是Issue,所以含义比较广,包括Bug,Task,Enhancement,Improvement等等跟软件开发相关的名词。跟踪管理即对问题的整个生命周期进行记录和管理。一个问题从创建到解决到关闭涉及到很多相关信息,包括是什么问题,谁发现的问题,谁处理了这个问题,如何处理的,相应的代码有什么改变等等,JIRA可以方便的记录这些信息,并且在问题的不同状态呈现在相应的责任人面前。相似的软件有Bugzilla,Trac,Mantis,Clear Quest, Streber, 等。 进行问题跟踪管理的好处是: 1. 让系统来记住Task,Bug等等信息,而不仅仅靠项目经理和程序员的脑袋来记忆。人脑记忆的东西往往是不准确的。 2. 问题跟踪管理可以定制流程,可以有效提高工作效率 3. 用专业的系统来进行问题跟踪管理能带来更多的好处,详细见下面JIRA的优点 1.2 JIRA的优点 JIRA有很多专业特性,不愧为介绍中说的Professional这个词。 1. 针对问题其默认定义了丰富的字段来记录问题的各种信息,包括Issue Type, Issue summary, Issue Description, priority, assignee,

How Jira plugin custom field value gets processed on the way to .vm templates

半世苍凉 提交于 2019-12-23 20:06:56
问题 Jira server 7.2.1. Custom field plugin. The question follows this discussion Can't understand, what does method getSingularObjectFromString do? and some info from "Practical jira plugins" I'm trying to implement a database custom field with basic value-displayValue logic. The field represents an external entity, so I'm storing ID as a value of the field, but displaying NAME. I have two .vm templates: edit and view. I'm trying to choose the right place to convert ID to NAME. I've overridden a

Using GitLab API to set external issues tracker settings?

白昼怎懂夜的黑 提交于 2019-12-23 17:22:54
问题 I'm using GitLab with an external issue tracker (JIRA), and it works well. My problem is when I create a new GitLab project (using API), I have to go the GitLab's project settings and manually select the issue tracker I want to use and manually enter the project's id of my external issue tracker. This screen will be more eloquent: (source: bayimg.com) (The two fields I am talking about are " Issue tracker " and " Project name or id in issues tracker ") So here is my question: is there any way

Send email to custom user field on change, in JIRA issue tracker?

蓝咒 提交于 2019-12-23 10:26:21
问题 We have custom user fields (ie 'Business Analyst', 'Developer', etc.) in JIRA, and we would like to be able to send an email to those users when they are assigned to one of those fields. I have looked over the JIRA wiki, and could not find a way to do this. I know this is possible with the 'Issue Assigned' event, but in this case, the JIRA is not being assigned, since we are using custom fields. Is this at all possible? 回答1: You should look at the JIRA Scripting Suite plugin --- you can

How do you set the fixVersions field using jira-python

戏子无情 提交于 2019-12-22 18:15:42
问题 I'm trying to update an existing JIRA using the jira-python module (http://jira-python.readthedocs.org/en/latest/). Specifically I'm trying to set the fixesVersion list of an issue. I've been trying for a while with no luck. What am I missing? issue = jira.issue('DUC-391') issue_dict = { 'fixVersions' : [{'id': '10115'}] } issue.update(fields=issue_dict) Returned stackTrace: Traceback (most recent call last): File "post-commit-jira.py", line 35, in <module> issue.update(fields=issue_dict)

Bitbucket issues section useless when connected to JIRA?

牧云@^-^@ 提交于 2019-12-22 16:02:15
问题 I have connected Bitbucket repo with JIRA project. Now when I commit to Bitbucket, I can reference JIRA issues or I can create branches in Bitbucket repo from JIRA and view commits from JIRA. However, when I create an issue in JIRA or an issue in Bitbucket, they are not being synced. I have not found any tutorial about this. Does this mean that Issues section in Bitbucket is useless when we connect it to JIRA? Is Issues section on Bitbucket only for repos that are not connected to JIRA (and I

Bitbucket issues section useless when connected to JIRA?

孤街醉人 提交于 2019-12-22 16:01:12
问题 I have connected Bitbucket repo with JIRA project. Now when I commit to Bitbucket, I can reference JIRA issues or I can create branches in Bitbucket repo from JIRA and view commits from JIRA. However, when I create an issue in JIRA or an issue in Bitbucket, they are not being synced. I have not found any tutorial about this. Does this mean that Issues section in Bitbucket is useless when we connect it to JIRA? Is Issues section on Bitbucket only for repos that are not connected to JIRA (and I