jira

Unable to PUT comment to Jira with Javascript using REST API

我只是一个虾纸丫 提交于 2021-02-11 13:04:34
问题 I'm trying to update a jira with a new comment through JavaScript. I can do this all day long with cURL but using javascript is proving more challenging. I was able to call the Jira API for a GET request for a key so I know my headers/authentication is working. Problem is my data. I don't see what I'm doing wrong to format the JSON string with the comment. Here's what I have so far: $.ajax({ type: "PUT", url: "https://jira.domain.com/rest/api/2/issue/TEST-113", dataType: "json", headers: {

Jira Ticket reference in Nunit header

試著忘記壹切 提交于 2021-02-11 12:51:46
问题 We are creating Nunit tests which have corresponding Jira stories. We have been putting the ticket reference in the test name, but is there a convention or Nunit attribute that we should consider using instead which would be a useful or organised place for putting this reference instead? 回答1: Many folks use the [Description] attribute for this purpose. Another option is to use [TestOf] . While it's aimed at specifying the class or method that you are testing, you can use it for any other

Jira Cloud Filter: currentUser() mentioned in comment

孤街浪徒 提交于 2021-02-10 14:11:03
问题 In Jira Cloud, I need to create a filter which shows all (open) issues where currentUser() is mentioned in comment. I installed Adaptavist Script Runner plugin (Cloud version), and i can filter all issues commented by currentUser(), like commentedBy = currentUser() however, how do i filter all issues where currentUser() is mentioned in the comments field - i.e. @username blah blah... ? 回答1: Try this JQL to search for all comments containing the current user's username: comment ~ currentUser()

Deserialize CSV string to an C# Object

爱⌒轻易说出口 提交于 2021-02-10 13:16:36
问题 I have a response from Jira API , require to be deserialized into data model: com.atlassian.greenhopper.service.sprint.Sprint@40675167[id=10151,rapidViewId=171,state=CLOSED,name=Sprint 37.1,startDate=2015-07-30T16:00:22.000+03:00,endDate=2015-08-13T16:00:00.000+03:00,completeDate=2015-08-13T14:31:34.343+03:00,sequence=10151] This is actually the information of current sprint for issue. I need to deserialize it to a model like: public class Model { public string name { get; set; } ... } I have

How to send a file using http request connector in mule4

倖福魔咒の 提交于 2021-02-08 06:35:34
问题 I am trying to add attachments to JIRA issue using JIRA rest api. I am using mulesoft to develop this flow. But I am not able to figure out how to send a file using request connector in mule 4. JIRA only accepts file in the form of multipart content type. I went through some of the documentation and it seems that till mule 3 using set attachment we can do this. In mule 4 dataweave is used to achieve this functionality but i am not able to find working code that can be used to implement this.

Error in curl when authenticating into JIRA

隐身守侯 提交于 2021-02-07 09:13:12
问题 curl -H "Content-Type: application/json; charset=UTF-8" -d '{"username":"admin","password":"admin"}' http://localhost:2990/jira/rest/auth/1/session I used the above query in DOS and I always get the following error : {"errorMessages":["Unexpected character (''' (code 39)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\n at [Source: org.apache.catalina.connector.CoyoteInputStream@1fd9611; line: 1, column: 2]"]} I tried many permutations and combinations ..

超级生产力:一款集成了 GitHub 的超酷开源待办事项列表应用

馋奶兔 提交于 2021-02-01 11:05:57
“超级生产力”是一款很棒的开源待办事项应用,可以帮助你管理任务、跟踪事务和管理时间。 无论你做什么,提高工作效率是大多数人的共同目标。通常,你总会尝试各种 待办事项列表应用 或者 记事应用 来帮助自己组织和提醒事情,从而高效地跟上工作进度。 当然,你可以看看那些清单,根据自己的喜好去尝试其中的一些。在这里,我遇到了一些独特的东西,如果你想要一个具有可靠的用户界面、GitHub/GitLab 集成以及一系列基本功能的桌面待办事项应用,你也许可以尝试一下。 超级生产力Super Productivity看起来是一个令人印象深刻的待办事项列表应用,并提供一些独特的功能。在本文中,我将让你简单了解它的一切。 超级生产力:一个简单的而有吸引力的开源待办事项应用程序 “超级生产力”是一款开源应用,它由 Johannes Millan 在 GitHub 上积极维护。 对我来说,用户体验是最重要的,“超级生产力”提供的用户界面给我留下了十分深刻的印象。 它还提供了一堆基本功能以及一些有趣的选项。让我们来看看它们。 “超级生产力”的功能 添加待办事项、说明 追踪花费在任务和休息上的时间 项目管理(与 JIRA、GitHub 和 GitLab 整合) 安排任务的能力 语言选择选项 同步到 Dropbox、Google Drive 或任何其他 WebDAV 存储位置 导入/导出功能 自动备份功能

Parse date string without losing timezone in Groovy for Jira

半腔热情 提交于 2021-01-29 07:22:41
问题 I have date strings being created with different timezones, and I need to display them in a different format, but still showing each one's original timezone. I'm able to parse, but it parses to a unix timestamp, which then loses the original timezone. def dateCreated = issue.fields.created // 2018-12-21T10:20:00.483-0800 def dateParsed = Date.parse("yyyy-MM-dd'T'HH:mm:ss.SSSz", dateCreated) // 1545416400483 def dateFormatted = dateParsed.format('yyyy-MM-dd h:mm a, z') // 2018-12-21 6:20 PM,

I created a python executable by using pyinstaller, but the module imported to my .py script is not present when I execute executable

一个人想着一个人 提交于 2021-01-29 04:27:15
问题 I created a python executable by using pyinstaller, but the jira module imported to my .py script is not present when I execute executable Traceback (most recent call last): File "myfile.py", line 7, in <module> File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 664, in _load_unlocked File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible

How To Install Atlassian Connector On Eclipse Photon 4.8.x Version

微笑、不失礼 提交于 2021-01-28 18:11:05
问题 I can not download Atlassian connector for eclipse photon 4.8.0 version. It support Installation via the Eclipse Marketplace for Eclipse 3.7 (Indigo), 4.2 (Juno), 4.3 (Kepler), 4.4 (Luna) But not Photon. This site is supporting download https://confluence.atlassian.com/ideplugin/atlassian-connector-for-eclipse/installation-and-upgrade-guide-for-the-eclipse-connector/installing-the-eclipse-connector How can I plugin it to Photon? 回答1: Although the development of the plug-in has been