Mark Ramotowski
b3bf8c2d09
fix: empty SearchOptions causing malformed request
...
prevents empty SearchOptions from being interpolated into the JIRA REST
request when calling Search on the Issue Service
2019-05-22 19:28:25 -07:00
Edwin Kyalangalilwa
e93c0e1785
feat: added DeleteAttachment
2019-05-21 09:13:37 -07:00
falnyr
1ebd7e7f0d
feat(issues): Added support for AddWorklog and GetWorklogs
2019-05-18 22:13:20 -07:00
David Url
b1589c4b06
Add 'affects versions' to issue fields
2019-04-28 20:10:26 +02:00
Jannis Andrija Schnitzer
8e94c551a3
Add test for creation and subsequent retrieval of issue
2018-10-15 11:24:37 +02:00
Thiago Oliveira
2990af0701
fix the DeleteComment unit test
2018-09-18 09:02:09 +02:00
Cory B. White
6e5d1122fb
Adding DeleteComment method and stub for some unit tests
2018-09-18 09:02:09 +02:00
rbriski
47f48bdc59
Merge pull request #157 from oroshnivskyy/master
...
Add CreatedTime() (time.Time, error) func to ChangelogHistory
2018-09-12 12:30:26 -07:00
rbriski
5161c44da2
Merge pull request #159 from Tom-Xie/master
...
Change POST method to PUT method in UpdateComment
2018-09-12 12:26:07 -07:00
Oleh Roshnivskyi
17a49a2fd9
Fix TestIssueService_Get_Fields_Changelog test to use time.Equal
2018-09-03 22:55:40 +03:00
Oleh Roshnivskyi
1baa0576ef
Merge branch 'master' of github.com:andygrunwald/go-jira
2018-09-03 22:51:52 +03:00
Nate Mara
bb1f9e1a50
Add UpdateAssignee method to allow users to change issue assignee
2018-08-26 19:44:17 +01:00
Machiel Molenaar
37eae9731c
Updated create issue endpoint in accordance to the documentation
2018-08-13 19:04:30 +02:00
xiegongshang
9fd9a332be
Change POST method to PUT method in UpdateComment
2018-08-10 11:08:51 +08:00
Oleh Roshnivskyi
e25bafc579
Add CreatedTime() (time.Time, error) func to ChangelogHistory
2018-07-24 17:58:12 +03:00
Frederick Ros
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
Ishu
e4572fccba
Add support for ValidateQuery param in SearchAPI
2018-03-16 17:19:59 +05:30
Bob Briski
56d87db29c
Cleaning a bunch of go vet issues
2018-02-28 22:46:54 -08:00
Rob Iball
8bb638807a
Added method & tests for logging time against an issue
2018-02-17 12:09:23 +00:00
Jannis Andrija Schnitzer
1a2c703f7f
Add unit test for Duedate type change
...
See #102 .
2018-01-16 16:57:38 +01:00
Sytze Tempel
60a7c948cc
Adds methods to add/remove/list watchers from/to an issue
2017-12-11 14:16:13 +01: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
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
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
Andy Grunwald
30841416a8
go fmt
2017-06-15 19:02:07 +02: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
Kenji Yano
ccd16575a5
implemented low level do transition method.
2017-05-04 23:19:41 +09:00
Andy Grunwald
880a13c107
Fixed typos
2017-05-01 15:03:03 +02:00
Andy Grunwald
69e7535b62
go fmt and fixed some typos
2017-05-01 14:59:27 +02:00
Andreas Fuchs
dda28f9b9c
Add a test case for the "option" field type
2017-04-27 09:41:25 -07: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
Graham Phakos
dc2383c179
test expand
2017-02-22 19:08:13 -05: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
542fcc2d46
Fixed unit test to provide more information about the failure
2016-11-04 20:48:26 +01: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
1f368f8fe0
Adds method to init issue with meta and fieldConfig. Adds related tests
2016-10-05 18:04:48 +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
2b654c6df6
A test that has a select list custom type
2016-09-06 17:02:03 -07:00
Andy Grunwald
df3bf313a0
go fmt
2016-07-29 19:35:04 +02:00
attack7
7d216396c6
Add epic data to returned issue fields
2016-07-28 16:06:52 -04:00
Andy Grunwald
cdb3939c4c
Renamed unit tests according golang standard
2016-07-17 12:13:08 +02:00
Andy Grunwald
f1a11a0302
go doc and go lint
2016-07-17 11:41:50 +02:00
Andy Grunwald
a2df25c45a
go fmt
2016-07-17 11:24:23 +02:00
Andy Grunwald
4b9e96b367
Moved transition service into issue service, because it relates to the issue api calls
2016-07-17 11:23:49 +02:00
Ignasi Fosch
f7ea942ed3
Comments unmarshaling fixed
2016-07-08 01:21:14 +02:00