Skip to content

Commit

Permalink
Added basic tests for CI quality
Browse files Browse the repository at this point in the history
  • Loading branch information
lipkau committed Oct 19, 2018
1 parent c0049f3 commit 2194fa5
Show file tree
Hide file tree
Showing 9 changed files with 772 additions and 339 deletions.
128 changes: 64 additions & 64 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Change Log

## 2.8 - 2018-06-28
## [2.8] - 2018-06-28

More detailed description about the changes can be found on [Our Website](https://atlassianps.org/article/announcement/JiraPS-v2.8.html).

### IMPROVEMENTS
### Changed

- Added support for paginated response from API server by means of `-Paging` (#291, [@lipkau[]])
- Added full set of functions to manage Filter Permissions (#289, [@lipkau[]])
Expand All @@ -16,50 +16,50 @@ More detailed description about the changes can be found on [Our Website](https:
- Added `Remove-JiraIssue` (#265, [@hmmwhatsthisdo[]])
- Improved Build script (to deploy changes to the homepage) (#259, [@lipkau[]])

### BUG FIXES
### Fixed

- Reverted `Add-JiraIssueAttachament` as JiraPS v2.7 broke it (#287, [@lipkau[]])
- Reverted `Add-JiraIssueAttachment` as JiraPS v2.7 broke it (#287, [@lipkau[]])
- Fixed resolving of Remote Link (#286, [@lipkau[]])
- Improved error handling for ErrorDetails and non-JSON/HTML responses (#277, [@hmmwhatsthisdo[]])
- Fully support Powershell v3 (#273, [@lipkau[]])
- Fixed parameter used in documentation but not in code (#263, [@lipkau[]])

## 2.7 - 2018-05-13
## [2.7] - 2018-05-13

More detailed description about the changes can be found on [Our Website](https://atlassianps.org/article/announcement/JiraPS-v2.7.html).

### IMPROVEMENTS
### Changed

- Writing and throwing of errors show better context (#199, [@lipkau][])
- Improved validation of parameters in `Add-JiraGroupMember` (#250, [@WindowsAdmin92][])
- Improved casting to `-Fields` by defining it's type as `[PSCustomObject]` (#255, [@lipkau][])
- Several improvements to the CI pipeline (#252, #257, [@lipkau][])

### BUG FIXES
### Fixed

- Build script was not publishing to the PSGallery (#252, [@lipkau][])
- Build script was publishing a new tag to repository even in case the build failed (#252, [@lipkau][])
- Fixed the adding multiple labels and the removal of those in `Set-JiraIssueLabel` (#244, [@lipkau][])
- Fixed CI icon in README (#245, [@lipkau][])
- Allow `Get-JiraUser` to return more than 1 result (#246, [@lipkau][])

## 2.6 - 2018-05-02
## [2.6] - 2018-05-02

More detailed description about the changes can be found on [Our Website](https://atlassianps.org/article/announcement/JiraPS-v2.6.html).

### FEATURES
### Added

- Added `-Passthru` parameter to `Invoke-JiraIssueTransition` (#239, [@lipkau][])
- Added `Get-JiraUser` functionality to find the current user (#231, [@lipkau][])
- Added full support for PowerShell Core (v6) and Linux/MacOS support (#230, [@lipkau][])
- Added JiraPS documentation on the homepage (#230, [@lipkau][])
- `-Passthru` parameter to `Invoke-JiraIssueTransition` (#239, [@lipkau][])
- `Get-JiraUser` functionality to find the current user (#231, [@lipkau][])
- full support for PowerShell Core (v6) and Linux/MacOS support (#230, [@lipkau][])
- JiraPS documentation on the homepage (#230, [@lipkau][])

### IMPROVEMENTS
### Changed

- Exposed `Invoke-JiraMethod` as a public function (#233, [@lipkau][])
- Migrated to External Help (instead of Comment-Based Help) (#230, [@lipkau][])

### BUG FIXES
### Fixed

- Index Into Null Object (#209, [@lipkau][])
- Fix empty header (#206, [@lipkau][])
Expand All @@ -68,11 +68,11 @@ More detailed description about the changes can be found on [Our Website](https:
- Fix removing labels with `Set-JiraIssueLabel -Remove` (#244, [lipkau][])
- Fix adding of multiple labels at once with `Set-JiraIssueLabel -Add` (#244, [lipkau][])

## 2.5 - 2018-03-23
## [2.5] - 2018-03-23

More detailed description about the changes can be found on [Our Website](https://atlassianps.org/article/announcement/JiraPS-v2.5.html).

### IMPROVEMENTS
### Changed

- Harmonized code style (#162, [@lipkau][])
- Harmonized verbose messages (#162, [@lipkau][])
Expand All @@ -89,43 +89,43 @@ More detailed description about the changes can be found on [Our Website](https:
- Fixed _date_ and _timespan_ representation in _Body_ of `Add-JiraIssueWorklog` (#214, [@lipkau][])
- Improved output of `Get-JiraProject` (#216, [@lipkau][])

## 2.4 (Nov 01, 2017)
## [2.4] (Nov 01, 2017)

### FEATURES
### Added

- `Add-JiraIssueAttachment`: Add an attachment to an issue (#137, [@beaudryj][])
- `Get-JiraIssueAttachment`: Get attachments from issues (#137, [@beaudryj][])
- `Remove-JiraIssueAttachment`: Remove attachments from issues (#137, [@beaudryj][])

### IMPROVEMENTS
### Changed

- `JiraPS.Issue` now has a property for Attachments `JiraPS.Attachment` (#137, [@beaudryj][])

## 2.3 (Okt 07, 2017)
## [2.3] (Okt 07, 2017)

### FEATURES
### Added

- `Get-JiraServerInformation`: Fetches the information about the server (#187, [@lipkau][])

### IMPROVEMENTS
### Changed

- Added `-AddComment` to `Set-JiraIssue`. Allowing the user to write a comment for the changes to the issue (#167, [@Clijsters][])
- Changed the default visibility of comments (#172, [@lipkau][])
- Added more properties to `JiraPS.User` objects (#152, [@lipkau][])

## 2.2.0 (Aug 05, 2017)
## [2.2].0 (Aug 05, 2017)

### FEATURES
### Added

- `New-JiraVerion`: Create a new Version in a project (#158, [@Dejulia489][])
- `Get-JiraVerion`: Get Versions of a project (#158, [@Dejulia489][])
- `Set-JiraVerion`: Changes a Version of a project (#158, [@Dejulia489][])
- `Remove-JiraVerion`: Removes a Version of a project (#158, [@Dejulia489][])
- `New-JiraVersion`: Create a new Version in a project (#158, [@Dejulia489][])
- `Get-JiraVersion`: Get Versions of a project (#158, [@Dejulia489][])
- `Set-JiraVersion`: Changes a Version of a project (#158, [@Dejulia489][])
- `Remove-JiraVersion`: Removes a Version of a project (#158, [@Dejulia489][])
- New custom object for Versions (#158, [@Dejulia489][])

## 2.1.0 (Jul 25, 2017)
## [2.1].0 (Jul 25, 2017)

### FEATURES
### Added

- `Get-JiraIssueEditMetadata`: Returns metadata required to create an issue in JIRA (#65, [@lipkau][])
- `Get-JiraRemoteLink`: Returns a remote link from a JIRA issue (#80, [@lipkau][])
Expand All @@ -135,7 +135,7 @@ More detailed description about the changes can be found on [Our Website](https:
- Added support for getting and managing Issue Watchers (`Add-JiraIssueWatcher`, `Get-JiraIssueWatcher`, `Remove-JiraIssueWatcher`) (#73, [@ebekker][])
- Added IssueLink functionality (`Add-JiraIssueLink`, `Get-JiraIssueLink`, `Get-JiraIssueLinkType`, `Remove-JiraIssueLink`) (#131, [@lipkau][])

### IMPROVEMENTS
### Changed

- `New-JiraIssue`: _Description_ and _Priority_ are no longer mandatory (#53, [@brianbunke][])
- Added property `Components` to `PSjira.Project` (#68, [@axxelG][])
Expand All @@ -147,116 +147,116 @@ More detailed description about the changes can be found on [Our Website](https:
- Switched to _Basic Authentication_ when generating the session (#116, [@lipkau][])
- Added more tests for the CI (#142, [@lipkau][])

### BUG FIXES
### Fixed

- `Invoke-JiraMethod`: Error when Invoke-WebRequest returns '204 No content' (#42, [@colhal][])
- `Invoke-JiraIssueTransition`: Error when Invoke-WebRequest returns '204 No content' (#43, [@colhal][])
- `Set-JiraIssueLabel`: Forced label property to be an array (#88, [@kittholland][])
- `Invoke-JiraMethod`: Send ContentType as Parameter instead of in the Header (#121, [@lukhase][])

## 2.0.0 (Jun 24, 2017)
## [2.0].0 (Jun 24, 2017)

### Changes to the code module

- Move module to organization `AtlassianPS`
- Rename of the module to `JiraPS` **breaking change**
- Rename of module's custom objects to `JiraPS.*` **breaking change**

## 1.2.5 (Aug 08, 2016)
## [1.2].5 (Aug 08, 2016)

### IMPROVEMENTS
### Changed

- New-JiraIssue: Priority and Description are no longer mandatory (#24, @lipkau)
- New-JiraIssue: Added -Parent parameter for sub-tasks (#29, @ebekker)

### BUG FIXES
### Fixed

- ConvertTo-JiraProject: updated for Atlassian's minor wording change of projectCategory (#31, @alexsuslin)
- Invoke-JiraMethod: now uses the -ContentType parameter instead of manually passing the Content-Type header (#19)
- New-JiraIssue: able to create issues without labels again (#21)
- Set-JiraIssue: fixed issue with JSON depth for custom parameters (#17, @ThePSAdmin)
- Various: Fixed issues with ConvertFrom-Json max length with a custom ConvertFrom-Json function (#23, @LiamLeane)

## 1.2.4 (Dec 10, 2015)
## [1.2].4 (Dec 10, 2015)

### IMPROVEMENTS
### Changed

- Get-JiraGroupMember: now returns all members by default, with support for -MaxResults and -StartIndex parameters (#14)
- Get-JiraIssue: significantly increased performance (#12)

### BUG FIXES
### Fixed

- Get-JiraIssue: fixed issue where Get-JiraIssue would only return one result when using -Filter parameter in some cases (#15)
- Invoke-JiraIssueTransition: fixed -Credential parameter (#13)

## 1.2.3 (Dec 02, 2015)
## [1.2].3 (Dec 02, 2015)

### FEATURES
### Added

- Get-JiraIssue: added paging support with the -StartIndex and -PageSize parameters. This allows programmatically looping through all issues that match a given search. (#9)

### IMPROVEMENTS
### Changed

- Get-JiraIssue: default behavior has been changed to return all issues via paging when using -Query or -Filter parameters

### BUG FIXES
### Fixed

- Invoke-JiraMethod: Fixed issue where non-standard characters were not being parsed correctly from JSON (#7)

## 1.2.2 (Nov 16, 2015)
## [1.2].2 (Nov 16, 2015)

### FEATURES
### Added

- Set-JiraIssueLabel: add and remove specific issue labels, or overwrite or clear all labels on an issue (#5)

### IMPROVEMENTS
### Changed

- New-JiraIssue: now has a -Label parameter
- Set-JiraIssue: now has a -Label parameter (this replaces all labels on an issue; use Set-JiraIssueLabel for more fine-grained control)
- Invoke-JiraMethod: handles special UTF-8 characters correctly (#4)

### BUG FIXES
### Fixed

- Get-JiraIssueCreateMetadata: now correctly returns the ID of fields as well (#6)

## 1.2.1 (Oct 26, 2015)
## [1.2].1 (Oct 26, 2015)

### IMPROVEMENTS
### Changed

- Get-JiraIssueCreateMetadata: changed output type from a generic PSCustomObject to new type PSJira.CreateMetaField
- Get-JiraIssueCreateMetadata: now returns additional properties for field metadata, such as AllowedValues

## 1.2.0 (Oct 16, 2015)
## [1.2].0 (Oct 16, 2015)

### FEATURES
### Added

- Get-JiraFilter: get a reference to a JIRA filter, including its JQL and owner

### IMPROVEMENTS
### Changed

- Get-JiraIssue: now supports a -Filter parameter to obtain all issues matching a given filter object or ID

## 1.1.1 (Oct 08, 2015)
## [1.1].1 (Oct 08, 2015)

### IMPROVEMENTS
### Changed

- Set-JiraIssue now supports modifying arbitrary fields through the Fields parameter

## 1.1.0 (Sep 17, 2015)
## [1.1].0 (Sep 17, 2015)

### FEATURES
### Added

- User management: create and delete users and groups, and modify group memberships

### IMPROVEMENTS
### Changed

- Cleaner error handling in all REST requests; JIRA's error messages should now be passed as PowerShell errors
- Cleaner error handling in all REST requests; Jira's error messages should now be passed as PowerShell errors

### BUG FIXES
### Fixed

- PSJira.User: ToString() now works as expected

## 1.0.0 (Aug 5, 2015)
## [1.0].0 (Aug 5, 2015)

- Initial release

Expand All @@ -267,11 +267,11 @@ which is in turn inspired by the [Vagrant](https://github.com/mitchellh/vagrant/

## Next Release

### FEATURES
### Added

### IMPROVEMENTS
### Changed

### BUG FIXES
### Fixed

<!-- reference-style links -->
[@alexsuslin]: https://github.com/alexsuslin
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ permalink: /module/JiraPS/
# [JiraPS](https://atlassianps.org/module/JiraPS)

[![GitHub release](https://img.shields.io/github/release/AtlassianPS/JiraPS.svg?style=for-the-badge)](https://github.com/AtlassianPS/JiraPS/releases/latest)
[![Build Status](https://img.shields.io/vso/build/AtlassianPS/JiraPS/8/master.svg?style=for-the-badge)](https://dev.azure.com/AtlassianPS/JiraPS/_build/latest?definitionId=8)
[![Build Status](https://img.shields.io/vso/build/AtlassianPS/JiraPS/11/master.svg?style=for-the-badge)](https://dev.azure.com/AtlassianPS/JiraPS/_build/latest?definitionId=8)
[![PowerShell Gallery](https://img.shields.io/powershellgallery/dt/JiraPS.svg?style=for-the-badge)](https://www.powershellgallery.com/packages/JiraPS)
![License](https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge)

Expand Down
Loading

0 comments on commit 2194fa5

Please sign in to comment.