rundeck-plugins / jira-workflow-step

Rundeck workflow step that checks if specified Jira issue exists
10 stars 6 forks source link

Create issue fails if fields required with cryptic message #8

Open pwonson opened 4 years ago

pwonson commented 4 years ago

The create issue plugin fails if a field other than those shown are required.

Enhancement request - create an advanced section that can read in additional fields in a property format

And update the error message to be more like the Jira API

when using the api and a required field is ommited the error message looks like this

Rundeck-2{ "errorMessages": [ "Inbound Hostname: Inbound Hostname is required." ], "errors": {} }

The plug error message is: Failed to create issue 21:35:10 Failed: JiraException: Jira exception: Failed to create issueFailed to create issue

21:35:10 | Failed: JiraException: Jira exception: Failed to create issue

marcjay commented 4 years ago

Looks like that might be a different plugin you're referring to? This plugin can only check for the existence of an issue - there's no code here to try to create an issue