AtlassianPS / JiraPS

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

Kerberos authentication failed. Redirecting to standard login form. Invoke-JiraMethod #428

Closed pkarunkar closed 3 years ago

pkarunkar commented 3 years ago

Description

using http://url:port Throws kerberos authentication error. The credential may not be required since invoke-restmethod -userdefaultcredentials -userAgent "WindowsNT" is working fine. But not using this Module. How do I make this work without passing credentials.

Set-JiraConfigServer "http://URI:port" Get-jiraIssue -Key "Xyz"

Cannot put screenshots since do not have external internet access from work.

lipkau commented 3 years ago

The module uses Invoke-WebRequest and not Invoke-RestMethod.

But to answer your question: you can use $PSDefaultParameterValues to set parameters on the underlying requests.