Skip to content

Commit

Permalink
Adding test script
Browse files Browse the repository at this point in the history
  • Loading branch information
Piedone committed Feb 12, 2024
1 parent 46a24dd commit 1336bac
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
$Env:JIRA_BASE_URL = 'https://lombiq.atlassian.net'
$Env:JIRA_USER_EMAIL = '[email protected]'
$Env:JIRA_API_TOKEN = 'your API token here'
$Env:JIRA_PROJECT_KEY = 'ADHOC'

# Add the Script directory to the PATH (just for the duration of this script) so that scripts from there will be
# available without specifying the full path.
$currentScriptDirectory = Split-Path -Parent -Path $MyInvocation.MyCommand.Definition
$relativeFolderPath = Join-Path -Path $currentScriptDirectory -ChildPath "..\..\..\Scripts"
$Env:Path += ";$relativeFolderPath"

$issueParams = @{
Summary = 'Test issue'
Description = 'This is a test issue'
Type = 'Task'
IssueComponent = 'Test'
LinkUrl = 'https://lombiq.com'
LinkTitle = 'Lombiq'
}

.\Add-JiraIssue.ps1 @issueParams

0 comments on commit 1336bac

Please sign in to comment.