I am running Rundeck community version 4.10.1 and trying to set up JIRA ticket validation in my workflows. I have installed the JIRA plugins and can see the “jira issue exists” step available in my workflow options.
My configuration in the project settings looks like this:
project.plugin.Notification.JIRA.login=myuser
project.plugin.Notification.JIRA.password=mypass
project.plugin.Notification.JIRA.url=https://mycompany.atlassian.net
But when I run my job it fails with this error:
[Workflow result: , step failures: {1=JiraIssueNotFound: Issue key "ABC-123".}, status: failed]
Here is my job configuration:
<joblist>
<job>
<context>
<options preserveOrder='true'>
<option name='ticket_id'>
<description>JIRA ticket to validate</description>
</option>
</options>
</context>
<defaultTab>nodes</defaultTab>
<executionEnabled>true</executionEnabled>
<id>12abc34-d567-89ef-gh01-23456ijklmno</id>
<loglevel>INFO</loglevel>
<name>validate jira ticket</name>
<sequence keepgoing='false' strategy='node-first'>
<command>
<step-plugin type='JIRA-Issue-Exists'>
<configuration>
<entry key='issue-key' value='${option.ticket_id}' />
</configuration>
</step-plugin>
</command>
<command>
<exec>echo Ticket validation passed</exec>
</command>
</sequence>
</job>
</joblist>
The ticket definitely exists in JIRA. I am using the Jira Notification plugin version 1.0.1 installed through the Rundeck web interface. What could be causing this issue?