Jannis Andrija Schnitzer
3efb46493f
Add MarshalJSON method for Date (untested)
2018-01-19 17:57:08 +01:00
Jannis Andrija Schnitzer
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
Andy Grunwald
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
Oscar Mira
18f1b9ac4a
Add 'to' field to Transition type
2018-01-10 17:21:25 +01:00
Oscar Mira
006e865f6a
New TransitionPayloadFields to set fields on transitions
2018-01-10 17:12:02 +01:00
Oscar Mira
510fc3aa2a
Change type to Time for issue time fields
2018-01-10 14:51:30 +01:00
Sytze Tempel
f015c4061e
Adds methods to add/remove/list watchers from/to an issue
2017-12-18 11:30:59 +01:00
Sytze Tempel
60a7c948cc
Adds methods to add/remove/list watchers from/to an issue
2017-12-11 14:16:13 +01:00
rbriski
7df17cc390
Merge branch 'master' into rbriski/jira_error
2017-11-03 15:24:23 -07:00
Bob Briski
2eaa9b17ce
Adding jira.Error to all functions that can return a jira specific JSON error
2017-11-03 15:22:32 -07:00
Bob Briski
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
Bob Briski
d0531056bb
Adding jira.Error to better wrap jira-specific errors
2017-11-02 10:09:17 -07:00
Robert Bittle
6bfb81bc70
Add SearchPages
2017-11-01 12:19:23 -04:00
Robert Bittle
d1d02ac372
Add GetWorklogs
2017-10-31 12:55:08 -04:00
Robert Bittle
9ec4d0491e
Add option type to custom fields
2017-10-27 17:24:15 -04:00
Morgan Patch
418d671092
Add UpdateComment method
2017-08-31 14:46:04 -07:00
zhaohaifeng [赵海锋]
e88af2595a
add unittest for UpdateIssue
2017-08-16 17:56:08 +08:00
zhaohaifeng [赵海锋]
4a50cc4eb6
add UpdateIssue method for jira 7.4.0
2017-08-03 17:57:24 +08:00
Peter Bueschel
cbd1994e39
just added value type 'datetime' to the list in InitIssueWithMetaAndFields
2017-07-31 09:03:34 +02:00
Hugo Torres
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
Hugo Torres
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
Andy Grunwald
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
Francois
88bab6c4c8
refactor: rename PostAttachment arg to issueID
2017-05-06 14:09:22 +02:00
Kenji Yano
ccd16575a5
implemented low level do transition method.
2017-05-04 23:19:41 +09:00
Andy Grunwald
1c3a3519ff
go fmt and docs
2017-05-01 15:06:18 +02:00
Andy Grunwald
880a13c107
Fixed typos
2017-05-01 15:03:03 +02:00
Andreas Fuchs
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
Wytse Vellema
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
Andy Grunwald
e206cd4d4d
Merge pull request #64 from gphakos/expand
...
Add Expand Query Parameter to Searches
2017-02-28 10:10:37 +01:00
Garrett Graupmann
bac2760a87
Added Issue.Delete and unit test.
2017-02-23 17:41:52 -08:00
Garrett Graupmann
39a47d13a0
Initial commit of bug fixes found by atom's gometalinter.
2017-02-23 16:48:06 -08:00
Graham Phakos
b57fd50c97
expand
2017-02-22 18:26:49 -05:00
Andy Grunwald
8a4b1aca33
Added basic version of Group API (Thanks to @aviz)
2017-01-29 17:28:04 +01:00
Andy Grunwald
f764e89d33
Add Changelog to Issue and allow query parameters to issue.GET
2017-01-27 23:04:57 +01:00
Andy Grunwald
e0f9c1d4ae
Merge branch 'user_endpoint' of https://github.com/guilhermebr/go-jira into guilhermebr-user_endpoint
...
* 'user_endpoint' of https://github.com/guilhermebr/go-jira :
Add UserService to handle JIRA User endpoints
2016-11-04 20:55:27 +01:00
Andy Grunwald
11bb1a8b27
Fixed structs tags of Parent struct
2016-11-04 20:48:16 +01:00
Patrick O'Connor
5f27aa465c
Added Parent to issue fields
2016-10-31 17:31:51 -07:00
Guilherme Rezende
c969fb4ee0
Add UserService to handle JIRA User endpoints
2016-10-31 10:24:30 -02:00
Albin Gilles
b1018be8a7
Add duedate, timespent, timeestimate and timeoriginalestimate to Issue struct
2016-10-24 11:07:36 +02:00
Albin Gilles
e314420883
Renamed Timetracking field to TimeTracking to follow go naming conventions
2016-10-24 11:06:37 +02:00
Albin Gilles
233f266cfb
Add Timetracking JIRA issue field handling
2016-10-23 14:50:36 +02:00
Bidesh Thapaliya
9543ada034
Fixes the structs tags. Adds test to verify empty fields are ommitted
2016-10-07 10:52:40 +02:00
Bidesh Thapaliya
7219fd57e4
Remove some comments not applicable
2016-10-05 18:07:59 +02:00
Bidesh Thapaliya
1f368f8fe0
Adds method to init issue with meta and fieldConfig. Adds related tests
2016-10-05 18:04:48 +02:00
Bidesh Thapaliya
0ef71af2e8
Preserve resp body in case of error in Create function.
2016-10-05 14:53:30 +02:00
Andy Grunwald
31508ce192
Fixed a few fmt and debug outputs
2016-10-03 13:33:46 +02:00
Andy Grunwald
8d3b47871f
Merge branch 'master' of https://github.com/bidesh/go-jira into bidesh-master
...
* 'master' of https://github.com/bidesh/go-jira :
Adds test for authentication on expected json. Adds test to metaissue
Removes check for statuscode as jiraclient already does it. Adds test for nonok status code returned
Adds test for GetProjectWithName and GetIssueTypeWithName
Omit more empty attributes when converting from struct to map
Adds unknown map for arbitrary fields in IssueFields. Adds Custom Marshall,Unmarshall. Adds structs tag where necessary
Adds metaissue support.
Completes the APi for session. Adds logout and GetCurrentUser
2016-10-03 13:15:05 +02:00
Bidesh Thapaliya
5ce765977f
Adds unknown map for arbitrary fields in IssueFields. Adds Custom Marshall,Unmarshall. Adds structs tag where necessary
2016-09-23 16:19:07 +02:00
Rao Li
4ad59bb4e7
Attempt to retrieve the actual string value of a complex type custom field instead of blindly converting to string.
2016-09-06 16:14:15 -07:00
attack7
7d216396c6
Add epic data to returned issue fields
2016-07-28 16:06:52 -04:00