AtlassianPS / JiraPS

PowerShell module to interact with Atlassian JIRA
https://AtlassianPS.org/module/JiraPS
MIT License
323 stars 131 forks source link

Enhance credential handling (again) #270

Closed lipkau closed 6 years ago

lipkau commented 6 years ago

This is the same as #267, which was merged into the wrong base.

Description

Changed the way Credentials are passed to the functions. These changes are 100% backwards compatible but add new functionality:

Get-JiraIssue -Credential "lipkau"

lipkau is a string. This was not possible before this change. Now, -Credential will call Get-Credential -UserName $_ when a string is provided.

Motivation and Context

Improve usability

Types of changes

Checklist: