Hi,
How can we use the API from the atlassian suite (jira) to automate Azure Pipelines when doing a pull request.
We can use JiraPS in Azure DevOps Pipelines but it keeps failing.
Script example:
- task: PowerShell@2
displayName: 'jira powershell'
inputs:
targetType: 'inline'
script: |
# Write your PowerShell commands here.
Install-Module -Name JiraPS -Scope CurrentUser -Force -Verbose
Import-Module -Name JiraPS -Force -Verbose
New-JiraSession -Credential "rheijder@anwb.nl"
# Get-Help about_JiraPS
# Import-Module -Name JiraPS -Verbose
# set-jiraissue -Issue "cpe-612" -AddComment "blahviadevops"
Anyone suggestions?
Regards,
Richard