I have Rundeck community edition 4.1. I want to include jira issue ID in my job execution. For that I installed plugsins and the jira issue exists is hwoing up in workflow step.
I configured
project.plugin.Notification.JIRA.login=username project.plugin.Notification.JIRA.password=password project.plugin.Notification.JIRA.url=https://jiratestuser.atlassian.net in project.properties file.
When I execute rundeck job, it is giving this error
Execution failed: 37321 in project Project-Name: [Workflow result: , step failures: {1=PluginFailed: login is required}, status: failed]
So I configured in framework.properties file with below settings
jira.url=https://instance.atlassian.net jira.login=user jira.auth_token=keys/jira/token
I restarted rundeck service and ran the job still it gave same error. Can someone suggest whether I am missing any?
I reproduced your issue and that happens when the plugin can't find the credentials in the right place.
Jira Notification
Considering that you're using the OSS Jira Notification plugin. Follow these steps (the first step is optional if you don't have the plugin installed in your Rundeck instance):
As you see and according to the documentation, you don't need that
framework.propertiescredentials. It works with the project configuration parameters.Jira Workflow Step
Considering that you're using the OSS Jira Workflow Step plugin plugin. Follow these steps (the first step is optional if you don't have the plugin installed in your Rundeck instance):
Install the plugin via the Plugin Manager (Gear Icon > Plugins > Find Plugins > Put "Jira" on the "Search for..." field, and install the Jira Workflow Step Plugin).
You do not need to generate a "project.properties" file because the configuration is now saved on the Rundeck backend (from Rundeck 3.1; you are using Rundeck 4.1). So, sign in to Rundeck and navigate to your Project > Project Settings (left menu) > Edit Configuration > Edit Configuration File button (up to right). That is the "new" project, properties. There is a place where you should enter your Jira credentials, like this:
Like the Notification plugin and according to the documentation, you don't need the
framework.propertiescredentials. It works with the project configuration parameters.