1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2025-07-01 00:25:00 +02:00
Commit Graph

162 Commits

Author SHA1 Message Date
3820d4dae6 Added Percent to Progress struct 2018-07-20 15:26:26 +03:00
c621b60752 Added AggregateTimeEstimate, AggregateTimeSpent and AggregateTimeOriginalEstimate to IssueFields 2018-07-20 15:20:54 +03:00
6223ddd833 feat: Add status category constants 2018-06-25 18:35:15 +02:00
fb1ce22699 feat: Add ResolutionService to retrieve resolutions 2018-06-25 17:48:53 +02:00
1c63e25a25 feat: Add get all priorities 2018-06-08 17:57:07 +02:00
6b32ea13a0 Added support for the 'expand:renderfields' option
A couple of fields can be rendered server side, especially the ones
related to dates (that can become string like "2 hours ago"), and the
comments body that can be expanded from JIRA wiki markup into HTML.
A new type IssueRenderedFields has been introduced with a couple of
fields that can be expanded.
2018-06-03 23:42:41 +02:00
18de7ff5fd move agile issue api to sprint, change name of GetByOption to GetWithOptions 2018-04-03 14:29:29 +09:00
8a9b83c1eb Merge branch 'master' of https://github.com/andygrunwald/go-jira 2018-04-03 11:08:30 +09:00
e4572fccba Add support for ValidateQuery param in SearchAPI 2018-03-16 17:19:59 +05:30
04cbb2fe5c use pagination from design 2018-03-16 19:01:13 +09:00
1d38c6cae2 split out agile endpoint for issue get, add api for pagination support 2018-03-13 18:49:27 +09:00
98ec0fc47f if not authenticated, fallback to use api/2 for issue get 2018-03-12 18:24:21 +09:00
6e4048ba34 fix test, merge from upstream. 2018-03-12 17:41:27 +09:00
6b38102972 Merge branch 'master' of https://github.com/andygrunwald/go-jira 2018-03-12 16:57:30 +09:00
4a727d9c52 Fix GetQueryOptions in issue.go to use projectKeys instead of projectKey 2018-03-05 08:56:57 -05:00
61dbee1c77 Merge pull request #113 from uservoice/master
Extend GetCreateMeta method to retrieve meta data for all projects
2018-03-01 08:35:16 -08:00
825973ac55 Added a GetCreateMetaWithOptions function, which extends the capabilities of GetCreateMeta to allow for options 2018-03-01 10:46:22 -05:00
56d87db29c Cleaning a bunch of go vet issues 2018-02-28 22:46:54 -08:00
0bb8204adc Merge pull request #107 from robiball/add_worklog_methods
Added method & tests for logging time against an issue
2018-02-21 21:39:36 +01:00
407ba9c5f9 Added 'omitempty` to summary and type fields in IssueFields 2018-02-20 08:10:33 -07:00
8bb638807a Added method & tests for logging time against an issue 2018-02-17 12:09:23 +00:00
3efb46493f Add MarshalJSON method for Date (untested) 2018-01-19 17:57:08 +01:00
2add4bd9b9 Use custom "Date" type for Duedate field
Jira doesn't use its default time format
("2006-01-02T15:04:05.999-0700") for the duedate field, but instead a
shorter representation that contains only the year, month and day
fields, i. e. "2006-01-02". This commit adds a new type "Date" that
is unmarshalled using the short format.
2018-01-16 14:38:17 +01:00
b7bd2385f1 Merge pull request #101 from omira-sch/fields-on-transitions
New TransitionPayloadFields to set fields on transitions
2018-01-11 21:48:30 +01:00
18f1b9ac4a Add 'to' field to Transition type 2018-01-10 17:21:25 +01:00
006e865f6a New TransitionPayloadFields to set fields on transitions 2018-01-10 17:12:02 +01:00
510fc3aa2a Change type to Time for issue time fields 2018-01-10 14:51:30 +01:00
f015c4061e Adds methods to add/remove/list watchers from/to an issue 2017-12-18 11:30:59 +01:00
60a7c948cc Adds methods to add/remove/list watchers from/to an issue 2017-12-11 14:16:13 +01:00
ce5e0c2cf2 use agile api for getting issue 2017-11-21 20:14:00 +09:00
7df17cc390 Merge branch 'master' into rbriski/jira_error 2017-11-03 15:24:23 -07:00
2eaa9b17ce Adding jira.Error to all functions that can return a jira specific JSON error 2017-11-03 15:22:32 -07:00
5655cb856a Updated test to use already built testClient. Fixed jira error functions to receive jira.Response instead of http.Response 2017-11-02 16:53:36 -07:00
d0531056bb Adding jira.Error to better wrap jira-specific errors 2017-11-02 10:09:17 -07:00
6bfb81bc70 Add SearchPages 2017-11-01 12:19:23 -04:00
d1d02ac372 Add GetWorklogs 2017-10-31 12:55:08 -04:00
9ec4d0491e Add option type to custom fields 2017-10-27 17:24:15 -04:00
418d671092 Add UpdateComment method 2017-08-31 14:46:04 -07:00
e88af2595a add unittest for UpdateIssue 2017-08-16 17:56:08 +08:00
4a50cc4eb6 add UpdateIssue method for jira 7.4.0 2017-08-03 17:57:24 +08:00
cbd1994e39 just added value type 'datetime' to the list in InitIssueWithMetaAndFields 2017-07-31 09:03:34 +02:00
bb451f74be Fix bug in issue update
The issue was being found by ID, but there are cases where a user will
have the issue key but not the ID, whereas if the user has the ID then
it's highly likely they have the key, because they probably got the ID
from the API, which would also return the key.
2017-06-26 10:15:03 -04:00
c8cc00ff93 Add Issue Update method
JIRA only allows issues to be created with certain fields set. This
means if a user needs to create an issue through the API with the
description set, they need to create the issue first, and then call the
API again to update it.

Without this commit, the way to do this through the package is by
calling IssueService.Create and then use the client's NewRequest method
to create a raw HTTP request for the Update. This isn't bad, but it can
be better.
2017-06-09 15:51:29 -04:00
52c37034b2 Merge pull request #72 from yanolab/feature#1
Implemented low level do transition method. close #57
2017-05-07 18:29:36 +02:00
88bab6c4c8 refactor: rename PostAttachment arg to issueID 2017-05-06 14:09:22 +02:00
ccd16575a5 implemented low level do transition method. 2017-05-04 23:19:41 +09:00
1c3a3519ff go fmt and docs 2017-05-01 15:06:18 +02:00
880a13c107 Fixed typos 2017-05-01 15:03:03 +02:00
967e2d4805 Add the "option" field type for custom fields
JIRA supports SelectList field types, which are similar to but
represented not quite the same as Strings. This change allows go-jira
to create issues with custom fields on them that are SelectLists.
2017-04-26 22:09:33 -07:00
dc9aff7507 adds support for selecting specific fields from the jira api. See https://docs.atlassian.com/jira/REST/cloud/#api/2/search-search for details 2017-04-13 21:02:50 +02:00