Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
249 commits
Select commit Hold shift + click to select a range
d758a3d
README: Add chapter "State of this library" (#490)
andygrunwald Aug 21, 2022
942f122
Go: Raise supported version to v1.18 (#491)
andygrunwald Aug 21, 2022
e3f4abd
README: Add chapter "Supported Jira versions" and "Official Jira API …
andygrunwald Aug 21, 2022
c6e6022
refactor: Replaced github.com/pkg/errors with errors (#460)
fank Aug 21, 2022
de88769
Fixed unit test "TestError_NoResponse" (#493)
andygrunwald Aug 21, 2022
79149ba
GitHub Action: New workflow to label PRs when they have merge request…
andygrunwald Aug 25, 2022
af74a7b
GitHub Actions: New action to label PRs (via actions/labeler) (#497)
andygrunwald Aug 25, 2022
75d07fb
Fix branch for unit tests
andygrunwald Aug 25, 2022
6999a8a
GitHub Actions: Enable start of GitHub Action workflows by a button c…
andygrunwald Aug 25, 2022
7a8f033
:warning: Update warning about current main branch and v2 :warning:
andygrunwald Sep 7, 2022
a746054
Split On-Premise and Cloud Clients #473 (#503)
andygrunwald Sep 11, 2022
bda468a
Changes to both (OnPremise and Cloud) clients to make it more future …
andygrunwald Sep 11, 2022
01115be
cloud: `NewMultiPartRequestWithContext` removed, `NewMultiPartRequest…
andygrunwald Sep 11, 2022
bd9c222
onpremise: `NewMultiPartRequestWithContext` removed, `NewMultiPartReq…
andygrunwald Sep 11, 2022
a1dd14e
chore(deps): bump github.com/google/go-cmp from 0.5.8 to 0.5.9 (#505)
dependabot[bot] Sep 11, 2022
6bc4139
#484: Make contribution easier to this project (#494)
andygrunwald Sep 11, 2022
a879a18
Changelog: Add note about ...WithContext API methods
andygrunwald Sep 11, 2022
c0f71dd
Version Service: Remove "WithContext" API methods
andygrunwald Sep 11, 2022
9d33bf4
Fix import pathes of onpremise examples
andygrunwald Sep 11, 2022
62f4b5d
User Service: Remove "WithContext" API methods
andygrunwald Sep 11, 2022
28be191
Status Category Service: Remove "WithContext" API methods
andygrunwald Sep 11, 2022
b6aa52c
Status Service: Remove "WithContext" API methods
andygrunwald Sep 11, 2022
f15fe0d
Sprint Service: Remove "WithContext" API methods
andygrunwald Sep 11, 2022
90390b6
ServiceDesk Service: Remove "WithContext" API methods
andygrunwald Sep 11, 2022
ccffe0a
Role Service: Remove "WithContext" API methods
andygrunwald Sep 11, 2022
090630b
Merge pull request #513 from andygrunwald/issue-337-make-context-firs…
andygrunwald Sep 11, 2022
a4e7a72
Request Service: Remove "WithContext" API methods
andygrunwald Sep 11, 2022
8e3f262
Resolution Service: Remove "WithContext" API methods
andygrunwald Sep 11, 2022
18ac2bc
Metaissue Service: Remove "WithContext" API methods
andygrunwald Sep 11, 2022
d7786f0
PermissionScheme Service: Remove "WithContext" API methods
andygrunwald Sep 11, 2022
4eca2c2
Priority Service: Remove "WithContext" API methods
andygrunwald Sep 11, 2022
85afd33
Component Service: Remove "WithContext" API methods
andygrunwald Sep 11, 2022
d588147
Customer Service: Remove "WithContext" API methods
andygrunwald Sep 11, 2022
3a203a5
Field Service: Remove "WithContext" API methods
andygrunwald Sep 11, 2022
a118968
Filter Service: Remove "WithContext" API methods
andygrunwald Sep 11, 2022
a5105d9
Group Service: Remove "WithContext" API methods
andygrunwald Sep 11, 2022
9e24812
Project Service: Remove "WithContext" API methods
andygrunwald Sep 11, 2022
7b652db
Merge pull request #514 from andygrunwald/issue-337-make-context-firs…
andygrunwald Sep 11, 2022
770cb36
Organization Service: Remove "WithContext" API methods
andygrunwald Sep 11, 2022
ef937e6
Issuelink Service: Remove "WithContext" API methods
andygrunwald Sep 11, 2022
3b8985f
Board Service: Remove "WithContext" API methods
andygrunwald Sep 11, 2022
fb4caf4
Issue Service: Remove "WithContext" API methods
andygrunwald Sep 11, 2022
948e8bc
Authentication Service: Remove "WithContext" API methods
andygrunwald Sep 11, 2022
5c16c68
Merge pull request #515 from andygrunwald/issue-337-make-context-firs…
andygrunwald Sep 11, 2022
b564b59
Replaced "GET" with http.MethodGet
andygrunwald Sep 11, 2022
d9332d8
Replaced "POST" with http.MethodPost
andygrunwald Sep 11, 2022
4d9ce5f
Replaced "PUT" with http.MethodPut
andygrunwald Sep 11, 2022
e936c72
Replaced "DELETE" with http.MethodDelete
andygrunwald Sep 11, 2022
efd864b
Add Changelog for "Replace all "GET", "POST", ... with http.MethodGet…
andygrunwald Sep 11, 2022
06a4f2d
Merge pull request #516 from andygrunwald/issue-508-get-post-http-rep…
andygrunwald Sep 11, 2022
f2d52eb
Get v2 working with go modules
andygrunwald Sep 11, 2022
4fa7b56
Merge pull request #517 from andygrunwald/issue-482-v2
andygrunwald Sep 11, 2022
247ff14
Fix #482: Fix import statements of examples
andygrunwald Sep 11, 2022
f0e3592
Fix #511: Easier and more lean issue templates
andygrunwald Sep 11, 2022
b90ee5d
Merge pull request #562 from andygrunwald/easier-issue-template-511
andygrunwald Sep 11, 2022
d9ec399
Fix #512: Easier Pull Request template
andygrunwald Sep 11, 2022
1a3d349
Merge pull request #563 from andygrunwald/easier-pr-template-512
andygrunwald Sep 11, 2022
73fd901
Basic setup of documentation with material for mkdocs
andygrunwald Sep 11, 2022
33e2fcb
BoardService: `BoardService.GetAllSprints` removed, `BoardService.Get…
andygrunwald Sep 12, 2022
295e4c7
GroupService: `GroupService.Get` removed, `GroupService.GetWithOption…
andygrunwald Sep 12, 2022
e22ee9a
IssueService: `Issue.Update` removed, `Issue.UpdateWithOptions` renamed
andygrunwald Sep 12, 2022
5a66ee4
IssueService: `Issue.GetCreateMeta` removed, `Issue.GetCreateMetaWith…
andygrunwald Sep 12, 2022
d2547bd
Project Service: `Project.GetList` removed, `Project.ListWithOptions`…
andygrunwald Sep 12, 2022
10c0101
Merge pull request #567 from andygrunwald/remove-WithOptions-294
andygrunwald Sep 12, 2022
63b9118
Merge branch 'main' into documentation-475
andygrunwald Sep 12, 2022
5638699
Add basic chapters like Installation and Supported Environments
andygrunwald Sep 12, 2022
4e131be
Merge pull request #564 from andygrunwald/documentation-475
andygrunwald Sep 12, 2022
713c378
chore(deps): bump actions/checkout from 2 to 3
dependabot[bot] Sep 13, 2022
25d06fb
Merge pull request #569 from andygrunwald/dependabot/github_actions/a…
andygrunwald Sep 13, 2022
e675126
chore(deps): bump actions/setup-python from 2 to 4
dependabot[bot] Sep 13, 2022
25826c2
Merge pull request #568 from andygrunwald/dependabot/github_actions/a…
andygrunwald Sep 13, 2022
4c62c7e
Replaced ReadAll and Unmarshal with NewDecoder
fank Sep 13, 2022
2b3e37b
do not hide errors
fank Sep 13, 2022
3b6e9df
README.md: fix example URLs
macpijan Sep 26, 2022
f00640c
:recycle: IssueCategory Service reviewed
ctreminiom Oct 10, 2022
f976e51
Merge pull request #576 from macpijan/fix-exaples-url
andygrunwald Oct 19, 2022
2113d5c
Fix all URLs in the README
andygrunwald Oct 19, 2022
eb8b02d
README: Removed the installation part for gopkg.in
andygrunwald Oct 19, 2022
0550807
Makefile: Switch to latest version of staticcheck
andygrunwald Oct 19, 2022
959dd7e
Makefile: Add commands for testing coverage
andygrunwald Oct 19, 2022
fc5561d
README: Add chapter about executing unit tests
andygrunwald Oct 19, 2022
1df2c28
Updated changelog with latest changes
andygrunwald Oct 19, 2022
6267520
PersonalAccessToken Auth: Used fmt.Sprintf to concat a string
andygrunwald Oct 19, 2022
2565dae
README: API-Version: Official support for Jira Cloud API in version 3
andygrunwald Oct 19, 2022
8929583
README.md: fix example URLs
macpijan Sep 26, 2022
bdbbc43
Fix all URLs in the README
andygrunwald Oct 19, 2022
f430c66
README: Removed the installation part for gopkg.in
andygrunwald Oct 19, 2022
7576942
Makefile: Switch to latest version of staticcheck
andygrunwald Oct 19, 2022
262ab8d
Makefile: Add commands for testing coverage
andygrunwald Oct 19, 2022
925add5
README: Add chapter about executing unit tests
andygrunwald Oct 19, 2022
16f9a8f
Updated changelog with latest changes
andygrunwald Oct 19, 2022
35154db
PersonalAccessToken Auth: Used fmt.Sprintf to concat a string
andygrunwald Oct 19, 2022
a291119
README: API-Version: Official support for Jira Cloud API in version 3
andygrunwald Oct 19, 2022
107734e
Cloud/Status Category: Smaller godoc changes
andygrunwald Oct 19, 2022
46f6b7a
Cloud/Status category: Added two additional testing checks
andygrunwald Oct 19, 2022
58243b0
Cloud/Status category: Add comments for usage example
andygrunwald Oct 19, 2022
2782ff3
On premise/Status category: Add comments for usage example
andygrunwald Oct 19, 2022
238ae39
Cloud/Status category: fixed error message if no status category id i…
andygrunwald Oct 19, 2022
0f08329
Cloud/Status category: Added empty line to improve readability
andygrunwald Oct 19, 2022
b868203
On premise/Status category: Fixed godoc and links to Jira documentation
andygrunwald Oct 19, 2022
2f71122
On premise/Status category: Added an additional test check
andygrunwald Oct 19, 2022
c2943e2
CHANGELOG: Workflow status categories: Revisited and fully implemente…
andygrunwald Oct 19, 2022
e256d12
Merge branch 'ctreminiom-feature/552'
andygrunwald Oct 19, 2022
4f97699
CHANGELOG: Removed git conflict marker
andygrunwald Oct 19, 2022
9ba3fcd
README.md: fix example URLs
macpijan Sep 26, 2022
a61e206
Fix all URLs in the README
andygrunwald Oct 19, 2022
7cca85e
README: Removed the installation part for gopkg.in
andygrunwald Oct 19, 2022
2b74414
Makefile: Switch to latest version of staticcheck
andygrunwald Oct 19, 2022
0f45b68
Makefile: Add commands for testing coverage
andygrunwald Oct 19, 2022
22e4eef
README: Add chapter about executing unit tests
andygrunwald Oct 19, 2022
6e8bdbf
Updated changelog with latest changes
andygrunwald Oct 19, 2022
325069c
PersonalAccessToken Auth: Used fmt.Sprintf to concat a string
andygrunwald Oct 19, 2022
70e965e
README: API-Version: Official support for Jira Cloud API in version 3
andygrunwald Oct 19, 2022
35e402f
:recycle: IssueCategory Service reviewed
ctreminiom Oct 10, 2022
a2931c3
README.md: fix example URLs
macpijan Sep 26, 2022
af93a3b
Updated changelog with latest changes
andygrunwald Oct 19, 2022
d75702f
Cloud/Status Category: Smaller godoc changes
andygrunwald Oct 19, 2022
6a1fe20
Cloud/Status category: Added two additional testing checks
andygrunwald Oct 19, 2022
894a3fc
Cloud/Status category: Add comments for usage example
andygrunwald Oct 19, 2022
4fec6ac
On premise/Status category: Add comments for usage example
andygrunwald Oct 19, 2022
4f0fa86
Cloud/Status category: fixed error message if no status category id i…
andygrunwald Oct 19, 2022
62ba32f
Cloud/Status category: Added empty line to improve readability
andygrunwald Oct 19, 2022
f0fc73b
On premise/Status category: Fixed godoc and links to Jira documentation
andygrunwald Oct 19, 2022
1e4735c
On premise/Status category: Added an additional test check
andygrunwald Oct 19, 2022
c361e09
CHANGELOG: Workflow status categories: Revisited and fully implemente…
andygrunwald Oct 19, 2022
469abf1
On premise/Authentication: Return error where possible
andygrunwald Oct 19, 2022
75eddf5
On premise/Issue: Fix test data
andygrunwald Oct 19, 2022
221b42e
Changelog: Internal: Replaced `io.ReadAll` and `json.Unmarshal` with …
andygrunwald Oct 19, 2022
ff38af3
Merge branch 'mcl-de-fk_marshal'
andygrunwald Oct 19, 2022
82afaac
Fix #579: Cloud/Authentication: Removed `BearerAuthTransport`, becaus…
andygrunwald Oct 19, 2022
4a88a05
Fix #579: Cloud/Authentication: `PATAuthTransport` was renamed to `AP…
andygrunwald Oct 19, 2022
6f4aa97
Fix #579: Update changelog
andygrunwald Oct 19, 2022
641e89f
Cloud/Authentication: Removed `APITokenAuthTransport`, renamed `Basic…
andygrunwald Oct 19, 2022
fb6a196
Fix unit tests
andygrunwald Oct 19, 2022
d86ceae
Cloud/Examples: Fix "GetSelf" method to get the current user
andygrunwald Oct 19, 2022
32a57fd
Merge pull request #580 from andygrunwald/issue-579
andygrunwald Oct 19, 2022
4bf851e
Fix #578: Remove `CookieAuthTransport` and `AuthenticationService`
andygrunwald Oct 19, 2022
e339202
Updated CHANGELOG
andygrunwald Oct 19, 2022
58a9305
Merge pull request #581 from andygrunwald/issue-578
andygrunwald Oct 19, 2022
5fccdb3
Cloud: Add TODO comments to methods that need a double check
andygrunwald Oct 19, 2022
6c76fac
On Premise: Add TODO comments to methods that need a double check
andygrunwald Oct 19, 2022
5d84a84
Cloud/Components: Add ComponentService.Get
andygrunwald Oct 19, 2022
28d994e
Fix package io/ioutil is deprecated: As of Go 1.16, the same function…
andygrunwald Oct 19, 2022
2671c36
Merge pull request #583 from andygrunwald/followup-389
andygrunwald Oct 19, 2022
aeff901
Cloud/Component: Review service "Component" in the Cloud Jira client …
andygrunwald Oct 19, 2022
07a4e5b
Merge pull request #584 from andygrunwald/issue-550
andygrunwald Oct 19, 2022
685151c
Cloud/User: Update User struct
andygrunwald Oct 19, 2022
a014314
Merge pull request #585 from andygrunwald/pr-412
andygrunwald Oct 19, 2022
2b87146
Fixed typo: apiEdpoint vs. apiEndpoint
andygrunwald Oct 19, 2022
b835d6c
Update Changelog: Cloud/User: Renamed `User.GetSelf` to `User.GetCurr…
andygrunwald Oct 19, 2022
5002af4
Onpremise/Auth: Update README and examples for Bearer Auth
andygrunwald Oct 19, 2022
051e945
Onpremise/Example: Fix bearerauth example
andygrunwald Oct 19, 2022
4496e87
Merge pull request #586 from andygrunwald/pr-469
andygrunwald Oct 19, 2022
9eaa723
Cloud/Board: Add Location to Board struct
andygrunwald Oct 19, 2022
76785ff
Merge pull request #587 from andygrunwald/pr-455
andygrunwald Oct 19, 2022
c7a7410
Cloud/Board: Add Sprint goal
andygrunwald Oct 19, 2022
6cf5212
Merge pull request #588 from andygrunwald/pr-463
andygrunwald Oct 19, 2022
5891423
Cloud/Group: Update Add/Remove and replace username parameter with ac…
andygrunwald Oct 19, 2022
58a1181
Merge pull request #589 from andygrunwald/pr-414
andygrunwald Oct 19, 2022
e7a6dfa
Cloud/Issue: add missing comments about closing Response.Body
vladimir-ch Oct 23, 2022
9c3184e
Onpremise/Issue: add missing comments about closing Response.Body
vladimir-ch Oct 23, 2022
aea7aec
Merge pull request #590 from vladimir-ch/docs-close-body-transition
andygrunwald Oct 23, 2022
af9dc68
Issue Comments: Add field "properties"
andygrunwald Nov 22, 2022
dfa3565
fix(code-snippet): example jira ticket status update
roshanraj Nov 23, 2022
0946977
Merge pull request #593 from roshanraj/patch-1
andygrunwald Nov 23, 2022
7b7e0c0
chore(deps): bump dominikh/staticcheck-action from 1.2.0 to 1.3.0
dependabot[bot] Jan 6, 2023
081901e
Update README.md
theriverman Feb 14, 2023
9b2c3c1
Merge pull request #614 from theriverman/patch-1
andygrunwald Feb 14, 2023
bdbfed6
chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.5.0
dependabot[bot] Feb 20, 2023
d9a8f8a
chore(deps): bump golang.org/x/term
dependabot[bot] Mar 6, 2023
cd8a512
Merge pull request #619 from andygrunwald/dependabot/go_modules/golan…
andygrunwald Mar 12, 2023
ca74e8e
Merge pull request #615 from andygrunwald/dependabot/go_modules/githu…
andygrunwald Mar 12, 2023
bd96450
Merge pull request #605 from andygrunwald/dependabot/github_actions/d…
andygrunwald Mar 12, 2023
2e11dff
Dependabot: Switch update interval from daily to monthly
andygrunwald Mar 25, 2023
5716f96
export custom types in user service that are exposed in function sign…
AlexVulaj Jun 9, 2023
57d1e28
Merge pull request #633 from AlexVulaj/user-service-unexported-types
andygrunwald Nov 14, 2023
54fd60d
feat(issue): add statuscategorychangedate
daveoy Dec 4, 2023
50d59fe
Merge pull request #650 from daveoy/dy/statuscategorychangedate
andygrunwald Jan 16, 2024
5605546
chore(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0
dependabot[bot] Apr 19, 2024
664d734
chore(deps): bump golang.org/x/term from 0.6.0 to 0.19.0
dependabot[bot] Apr 19, 2024
8b4e5aa
chore(deps): bump actions/setup-go from 3 to 5
dependabot[bot] Apr 19, 2024
2f2e9c9
chore(deps): bump actions/labeler from 4 to 5
dependabot[bot] Apr 19, 2024
e3df22d
chore(deps): bump dominikh/staticcheck-action from 1.3.0 to 1.3.1
dependabot[bot] Apr 19, 2024
9f06092
chore(deps): bump actions/setup-python from 4 to 5
dependabot[bot] Apr 19, 2024
8a1a470
Merge pull request #669 from andygrunwald/dependabot/github_actions/a…
andygrunwald Apr 19, 2024
06d7348
Merge pull request #666 from andygrunwald/dependabot/github_actions/a…
andygrunwald Apr 19, 2024
3efd905
Merge pull request #665 from andygrunwald/dependabot/github_actions/a…
andygrunwald Apr 19, 2024
9feb886
Merge pull request #664 from andygrunwald/dependabot/go_modules/golan…
andygrunwald Apr 19, 2024
a1b6efc
Merge pull request #663 from andygrunwald/dependabot/go_modules/githu…
andygrunwald Apr 19, 2024
ec9c9a6
Merge pull request #667 from andygrunwald/dependabot/github_actions/d…
andygrunwald Apr 19, 2024
5fb0a92
chore(deps): bump actions/checkout from 3 to 4
dependabot[bot] Apr 19, 2024
6752705
Merge pull request #668 from andygrunwald/dependabot/github_actions/a…
andygrunwald Apr 19, 2024
3c7558a
chore(deps): bump golang.org/x/term from 0.19.0 to 0.20.0
dependabot[bot] Jun 1, 2024
8c40f10
Merge pull request #673 from andygrunwald/dependabot/go_modules/golan…
andygrunwald Jun 1, 2024
58f453c
chore(deps): bump golang.org/x/term from 0.20.0 to 0.21.0
dependabot[bot] Jul 1, 2024
6c80e1f
Merge pull request #674 from andygrunwald/dependabot/go_modules/golan…
andygrunwald Jul 1, 2024
4cdf785
chore(deps): bump golang.org/x/term from 0.21.0 to 0.22.0
dependabot[bot] Jul 19, 2024
2aa3adf
Merge pull request #677 from andygrunwald/dependabot/go_modules/golan…
andygrunwald Jul 19, 2024
6543393
chore(deps): bump golang.org/x/term from 0.22.0 to 0.23.0
dependabot[bot] Aug 19, 2024
7918d97
Merge pull request #681 from andygrunwald/dependabot/go_modules/golan…
andygrunwald Aug 19, 2024
9e8caa1
Switch to v2 attachment/content
benjaminguttmann-avtq Sep 30, 2024
6c72429
chore(deps): bump golang.org/x/term from 0.23.0 to 0.24.0
dependabot[bot] Oct 1, 2024
26b888b
Merge pull request #686 from andygrunwald/dependabot/go_modules/golan…
andygrunwald Oct 1, 2024
17678c7
Merge pull request #685 from benjaminguttmann-avtq/662-change-depreca…
andygrunwald Oct 1, 2024
68b6e97
chore(deps): bump golang.org/x/term from 0.24.0 to 0.25.0
dependabot[bot] Nov 1, 2024
bc3f113
Merge pull request #688 from andygrunwald/dependabot/go_modules/golan…
andygrunwald Nov 2, 2024
88e0c91
chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1
dependabot[bot] Nov 4, 2024
2bb8c51
Merge pull request #689 from andygrunwald/dependabot/go_modules/githu…
andygrunwald Nov 5, 2024
253e656
chore(deps): bump golang.org/x/term from 0.25.0 to 0.27.0
dependabot[bot] Dec 14, 2024
48c5a07
Merge pull request #693 from andygrunwald/dependabot/go_modules/golan…
andygrunwald Dec 14, 2024
75d2ddc
fix: update comment fields of struct type to be pointers to fix json …
ominiet Dec 30, 2024
8c05365
Fixed issue field cratro json tag #645
ToreMerkely Jan 24, 2025
fdc08e4
Merge pull request #698 from ToreMerkely/fix-issue-field-creator-json…
andygrunwald Jan 24, 2025
5f1007e
chore(deps): bump golang.org/x/term from 0.27.0 to 0.28.0
dependabot[bot] Feb 1, 2025
0eaef8b
Merge pull request #700 from andygrunwald/dependabot/go_modules/golan…
andygrunwald Feb 12, 2025
be5ab4e
chore(deps): bump golang.org/x/term from 0.28.0 to 0.29.0
dependabot[bot] Feb 12, 2025
7257f03
Merge pull request #701 from andygrunwald/dependabot/go_modules/golan…
andygrunwald Feb 12, 2025
1068c2f
chore(deps): bump github.com/google/go-cmp from 0.6.0 to 0.7.0
dependabot[bot] Mar 1, 2025
131a619
Merge pull request #702 from andygrunwald/dependabot/go_modules/githu…
andygrunwald Mar 1, 2025
1801ec8
fix: update example to use correct property name
reecerussell Mar 16, 2025
99bdffc
Merge pull request #704 from reecerussell/patch-1
Mar 22, 2025
dc7f9f3
CI: Update Go versions from '1.19', '1.18' to '1.23', '1.24' and fix …
andygrunwald Mar 22, 2025
21b7be4
CI: Upgrade staticcheck from 2022.1 to 2025.1.1
andygrunwald Mar 22, 2025
3b4a269
CI: Redefine PR label configuration
andygrunwald Mar 22, 2025
5bc984c
go mod tidy
andygrunwald Mar 22, 2025
278db54
go.mod: Set toolchain go1.23
andygrunwald Mar 22, 2025
edbfe3f
CI: Set correct workflow trigger for merge conflicts and documenation…
andygrunwald Mar 22, 2025
039b602
Merge pull request #707 from andygrunwald/update-go-and-static-analysis
Mar 22, 2025
6b5c698
chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2
dependabot[bot] Mar 22, 2025
ba374d8
Merge pull request #706 from andygrunwald/dependabot/go_modules/githu…
Mar 22, 2025
426004a
Remove dependency `golang.org/x/term` as it was only used in examples
andygrunwald Mar 22, 2025
e2d2615
Merge pull request #709 from andygrunwald/remove-term-dependency
Mar 22, 2025
1268fc8
CI: Switch Github action to label PRs with merge conflict
andygrunwald Mar 22, 2025
b85aa3e
Merge pull request #710 from andygrunwald/fix-ci-label-merge-request
Mar 22, 2025
459e107
CI: Create one off label jobs to re-iterate over all PRs
andygrunwald Mar 22, 2025
ee3a025
Merge pull request #711 from andygrunwald/fix-ci-assign-labels
Mar 22, 2025
3791d77
CI: Fix label-pull-requests-all workflow (shell syntax error)
andygrunwald Mar 22, 2025
ece0466
CI: Fix label-pull-requests-all workflow (shell syntax error - finally)
andygrunwald Mar 22, 2025
619405a
CI: Fix label-pull-requests-all workflow (remove double ')
andygrunwald Mar 22, 2025
4ec9a8f
CI: Reformat `gh pr` output as string[]
andygrunwald Mar 22, 2025
9ec14ad
CI: Use proper GitHub Action output syntax for labeler
andygrunwald Mar 22, 2025
1a5d224
CI: Try to use PR numbers as multi line comment
andygrunwald Mar 22, 2025
7254fa3
CI: Retrieve Pull Request Numbers as raw list
andygrunwald Mar 22, 2025
190744d
CI: Write LIST_OPEN_ISSUES as multi-line string to $GITHUB_OUTPUT
andygrunwald Mar 22, 2025
ee10deb
CI: We run the labeler now manually one time
andygrunwald Mar 22, 2025
cfa118a
fix: update comment fields of struct type to be pointers to fix json …
Mar 22, 2025
37cfdc3
chore(deps): bump dominikh/staticcheck-action from 1.3.1 to 1.4.0
dependabot[bot] Jul 6, 2025
51c7813
Merge pull request #722 from andygrunwald/dependabot/github_actions/d…
andygrunwald Jul 6, 2025
248564b
chore(deps): bump actions/checkout from 4 to 5
dependabot[bot] Aug 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 8 additions & 27 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,45 +7,26 @@ assignees: ''

---

## Describe the bug
## What happened?

A clear and concise description of what the bug is.
Please provide as much info as possible.
Not doing so may result in your bug not being addressed in a timely manner.

Formatting tips: GitHub supports Markdown: https://guides.github.com/features/mastering-markdown/
## What did you expect to happen?

## To Reproduce

Provide a link to a live example, or an unambiguous set of steps to reproduce this bug. Include configuration, logs, etc. to reproduce, if relevant.
## How can we reproduce it (as minimally and precisely as possible)?

1.
2.
3.
4.
Minimal code helps us to identify the problem faster.

## Expected behavior
## Anything else we need to know?

A clear and concise description of what you expected to happen.

## Possible Solution

Not obligatory, but suggest a fix/reason for the bug, or ideas how to implement: the addition or change.

## Your Environment

Include as many relevant details about the environment you experienced the problem in

* go-jira version (git tag or sha):
* Go version (`go version`):
* Jira version:
* Jira type (cloud or on-premise):
* Involved Jira plugins:
* Operating System and version:

## Additional context

Add any other context about the problem here.

How has this issue affected you? What are you trying to accomplish?
Providing context helps us come up with a solution that is most useful in the real world.


* Jira version / Api version:
4 changes: 0 additions & 4 deletions .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

16 changes: 4 additions & 12 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
---
name: Feature request
about: Suggest an idea for this project
about: Suggest a feature for this project
title: ''
labels: ''
assignees: ''

---

## Is your feature request related to a problem? Please describe.
## What would you like to be added?

A clear and concise description of what the problem is. Ex. I'm always using this feature but am missing [...]

## Describe the solution you'd like
## Why is this needed?

A clear and concise description of what you want to happen.

## Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

## Additional context

Add any other context or screenshots about the feature request here.
## Anything else we need to know?
41 changes: 17 additions & 24 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,25 @@
# Description
#### What type of PR is this?

Please describe _what does this Pull Request fix or add?_.
<!--
Add one of the following kinds:
* bug
* cleanup
* documentation
* feature

Information that is useful here:
* **The What**: What is your change doing?
* **The Why**: Why is your change useful/needed? What is your use case? (this helps us to understand the real world better)
* **Type of change**: Things like Bugfix, New feature, Code quality improvements, Dependency upgrade, Documentation, ...
* **Breaking change**: Yes or no? Backward compatible?
* **Related to an issue**: Does this fix or close an issue? Or is related in any kind?
* **Jira Version + Type**: Which Jira version and type (on-premise / cloud) you have used?
Optionally add one or more of the following kinds if applicable:
* api-change
* deprecation
-->

## Example:
#### What this PR does / why we need it:

Let us know how users can use or test this functionality.

```go
// Example code
#### Which issue(s) this PR fixes:

```
Fixes #

# Checklist
#### Special notes for your reviewer:

* [ ] Unit or Integration tests added
* [ ] Good Path
* [ ] Error Path
* [ ] Commits follow conventions described here:
* [ ] [Conventional Commits 1.0.0](https://conventionalcommits.org/en/v1.0.0-beta.4/#summary)
* [ ] [The seven rules of a great Git commit message](https://chris.beams.io/posts/git-commit/#seven-rules)
* [ ] Commits are squashed such that
* [ ] There is 1 commit per isolated change
* [ ] I've not made extraneous commits/changes that are unrelated to my change.

#### Additional documentation e.g., usage docs, etc.:
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "daily"
interval: "monthly"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
interval: "monthly"
15 changes: 15 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
jira-onpremise:
- changed-files:
- any-glob-to-any-file: onpremise/**

jira-cloud:
- changed-files:
- any-glob-to-any-file: cloud/**

documentation:
- changed-files:
- any-glob-to-any-file: docs/**

examples:
- changed-files:
- any-glob-to-any-file: ['onpremise/examples/**', 'cloud/examples/**']
18 changes: 18 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Documentation

on:
workflow_dispatch:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
23 changes: 23 additions & 0 deletions .github/workflows/label-merge-conflicts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Auto-label merge conflicts

on:
workflow_dispatch:
# So that PRs touching the same files as the push are updated
push:
# So that the `dirtyLabel` is removed if conflicts are resolve
# We recommend `pull_request_target` so that github secrets are available.
# In `pull_request` we wouldn't be able to change labels of fork PRs
pull_request_target:
types: [synchronize]

jobs:
main:
runs-on: ubuntu-latest
steps:
- name: check if prs are dirty
uses: eps1lon/actions-label-merge-conflict@v3
with:
dirtyLabel: "conflicts"
repoToken: "${{ secrets.GITHUB_TOKEN }}"
commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request."
commentOnClean: "Conflicts have been resolved. A maintainer will review the pull request shortly."
50 changes: 50 additions & 0 deletions .github/workflows/label-pull-requests-all.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# This workflow is a "one off" workflow.
# It re-iterates over all pull requests and labels them.
# This is useful if you have added new labels and want to apply them to all existing pull requests.
name: Label pull requests (all)

on:
workflow_dispatch:

# limit permissions
permissions:
contents: read
pull-requests: write

jobs:
labeler:
runs-on: ubuntu-latest
if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/labeler@v5
with:
sync-labels: false
# Output of gh pr list --repo andygrunwald/go-jira --state open --limit 100 --json number --jq ".[].number"
pr-number: |
695
683
682
679
676
670
658
655
648
646
640
637
635
630
626
611
595
499
471
465
461
431
425
398
372
369
300
18 changes: 18 additions & 0 deletions .github/workflows/label-pull-requests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Label pull requests

on:
pull_request_target:

# limit permissions
permissions:
contents: read
pull-requests: write

jobs:
labeler:
runs-on: ubuntu-latest
if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/labeler@v5
with:
sync-labels: false
72 changes: 60 additions & 12 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,89 @@ name: Tests
on:
push:
branches:
- master
- main
pull_request:
workflow_dispatch:
schedule:
- cron: "5 1 * * *"

jobs:
test:
name: Test and lint
unit-test:
name: Unit tests
strategy:
fail-fast: false
matrix:
go: [ '1.18', '1.17' ]
go: [ '1.23', '1.24' ]
os: [ 'windows-latest', 'ubuntu-latest', 'macOS-latest' ]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- uses: actions/checkout@v5
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}

- name: Run Unit tests (Go ${{ matrix.go }})
run: make test

fmt:
name: go fmt
strategy:
fail-fast: false
matrix:
go-version: [ '1.23', '1.24' ]
os: [ 'windows-latest', 'ubuntu-latest', 'macOS-latest' ]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v5
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}

- name: Run go fmt (Go ${{ matrix.go }})
if: runner.os != 'Windows'
run: diff -u <(echo -n) <(gofmt -d -s .)

vet:
name: go vet
strategy:
fail-fast: false
matrix:
go-version: [ '1.23', '1.24' ]
os: [ 'windows-latest', 'ubuntu-latest', 'macOS-latest' ]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v5
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}

- name: Run go vet
run: make vet

staticcheck:
name: staticcheck
strategy:
fail-fast: false
matrix:
go-version: [ '1.23', '1.24' ]
os: [ 'windows-latest', 'ubuntu-latest', 'macOS-latest' ]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v5
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}

- name: Run staticcheck (Go ${{ matrix.go }})
uses: dominikh/staticcheck-action@v1.2.0
uses: dominikh/staticcheck-action@v1.4.0
with:
version: "2022.1"
version: "2025.1.1"
install-go: false
cache-key: ${{ matrix.go }}

- name: Run Unit tests (Go ${{ matrix.go }})
run: make test
cache-key: ${{ matrix.go-version }}-${{ matrix.os }}
Loading