Open JoeJe1993 opened 7 years ago
Your script does work with one exception: -Reporter
must be the username and not the email address
Appart from that, it works perfectly:
You are currently saving the xml file to the root of the module path. As I do not know where the file is being saved, I would guess:
The current version of the module has all verbose or debug messages in the function commented ou - you can uncomment the debug messages in Get-JiraConfigServer
and try to trace the cause for this problem.
Module is not on network resource. Module was installed as admin.
Must the module be installed as admin?
Can you add the line Install-Module JiraPS -scope currentuser
in the script?
Tried, makes no difference.
FOUND THE PROBLEM: I had a Variable called $ConfigFile set as an XML object in my script. This interfered with JiraPS and caused the issue I was having.
This bug also exists in PSJira.
That's a weird thing to happen...
Get-JiraConfigServer
only references $ConfigFile without a prefix, which should only use the variable in the scope of the function; not fetching the value from $global:ConfigFile
.
Well. This should be considered in #45
When trying to use
Set-JiraConfigServer
to create the config file, the following error is returned.NOTE: I'm using a custom module to catch exception messages. (Last two Debug messages that have [ERROR] and [FAIL] in them)