1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2024-11-30 08:47:11 +02:00
Commit Graph

14 Commits

Author SHA1 Message Date
Andy Grunwald
80c02828ca
feat(project): Add GitHub Actions testing workflow (#289)
GitHub actions is a workflow engine.
This testing workflow will
- keep everything inside GitHub (one platform)
- reduce dependency to an external service (TravisCI)
- introduce stricter testing (next to unit tests, staticcheck, fmt, vet)

* fix(tests): TestIssueService_GetEditMeta_Fail fails on windows due to error message checking

We check the error string in TestIssueService_GetEditMeta_Fail.
On different operting systems, this error message is different. See

- Linux: TestIssueService_GetEditMeta_Fail: metaissue_test.go:456: Error Get "http://127.0.0.1:65328/rest/api/2/issue/PROJ-9001/editmeta": dial tcp 127.0.0.1:65328: connect: connection refused
- Windows: Error Get "http://127.0.0.1:50122/rest/api/2/issue/PROJ-9001/editmeta": dial tcp 127.0.0.1:50122: connectex: No connection could be made because the target machine actively refused it.

Now we check the error type instead of the error message

* chore(tests): Support only the current + the last two versions

go-jira follows Go's Release Policy for testing.
See https://golang.org/doc/devel/release.html#policy

Related #290
2020-05-03 15:45:09 +02:00
Robert Bittle
a783764b52
feat(issues): Add GetEditMeta on issue
This calls the editmeta endpoint on an issue
API docs: https://docs.atlassian.com/DAC/rest/jira/6.1.html#d2e1364
2020-05-02 23:06:44 +02:00
nguyen970
825973ac55 Added a GetCreateMetaWithOptions function, which extends the capabilities of GetCreateMeta to allow for options 2018-03-01 10:46:22 -05: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
Albin Gilles
5857a2e350 Minor fix to comply with go vet 2016-10-23 14:51:29 +02:00
Bidesh Thapaliya
4ca40d473c Fixed test TestMetaIssueType_CheckCompleteAndAvailable_NotAvailable to actually trigger the unavailable case 2016-10-05 18:42:31 +02:00
Bidesh Thapaliya
14143f2f57 Adds test for metaissue 2016-10-05 18:29:09 +02:00
Bidesh Thapaliya
6f3806c115 Fix MetaIssueTypes in test. Add test for GetProjectWithKey 2016-10-05 10:55:52 +02:00
Andy Grunwald
31508ce192 Fixed a few fmt and debug outputs 2016-10-03 13:33:46 +02:00
Bidesh Thapaliya
e75e7750f2 Adds test for authentication on expected json. Adds test to metaissue 2016-09-27 13:26:07 +02:00
Bidesh Thapaliya
435fdb84eb Adds test for GetProjectWithName and GetIssueTypeWithName 2016-09-27 11:54:09 +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
Bidesh Thapaliya
fe6b129172 Adds metaissue support. 2016-09-20 14:27:54 +02:00