Giter Site home page Giter Site logo

jira-workflow-step's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

jira-workflow-step's Issues

Create issue fails if fields required with cryptic message

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

Plugin fails with existing jobs

I checked for an existing JIRA Ticket, using the plugin to test it with the Job you defined as an example. Every time I get the following error:

`[workflow] Begin execution: rundeck-workflow-node-first context: null
[workflow] Begin step: 1,JIRA-Issue-Exists
1: Workflow step executing: StepExecutionItem{type='JIRA-Issue-Exists', keepgoingOnSuccess=false, hasFailureHandler=false}
Issue key "LSAC-1112".
Failed executing step plugin [JIRA-Issue-Exists]: com.dtolabs.rundeck.core.execution.workflow.steps.StepException: Issue key "LSAC-1112". at org.rundeck.plugins.workflow.JiraWorkflowStep.executeStep(JiraWorkflowStep.java:68)
at com.dtolabs.rundeck.core.execution.workflow.steps.StepPluginAdapter.executeWorkflowStep(StepPluginAdapter.java:98)
at com.dtolabs.rundeck.core.execution.ExecutionServiceImpl.executeStep(ExecutionServiceImpl.java:116)
at com.dtolabs.rundeck.core.execution.workflow.BaseWorkflowStrategy.executeWFItem(BaseWorkflowStrategy.java:225)
at com.dtolabs.rundeck.core.execution.workflow.BaseWorkflowStrategy.executeWorkflowItemsForNodeSet(BaseWorkflowStrategy.java:303)
at com.dtolabs.rundeck.core.execution.workflow.NodeFirstWorkflowStrategy.executeWFSection(NodeFirstWorkflowStrategy.java:313)
at com.dtolabs.rundeck.core.execution.workflow.NodeFirstWorkflowStrategy.executeWorkflowImpl(NodeFirstWorkflowStrategy.java:119)
at com.dtolabs.rundeck.core.execution.workflow.BaseWorkflowStrategy.executeWorkflow(BaseWorkflowStrategy.java:182)
at com.dtolabs.rundeck.core.execution.WorkflowExecutionServiceThread.run(WorkflowExecutionServiceThread.java:55)

[workflow] Finish step: 1,JIRA-Issue-Exists
[workflow] Finish execution: rundeck-workflow-node-first: [Workflow result: , step failures: {1=JiraIssueNotFound: Issue key "LSAC-1112".}, status: failed]
[Workflow result: , step failures: {1=JiraIssueNotFound: Issue key "LSAC-1112".}, status: failed]
Execution failed: 1769: [Workflow result: , step failures: {1=JiraIssueNotFound: Issue key "LSAC-1112".}, status: failed]`

Apache 2.0 or MIT License

Currently there is no license assigned to the repo. Is it possible to assign a license to allow a more widely distributed usage? i.e. Apache 2.0 or MIT

Thanks.

Remove Beta Label

Remove "beta" label from descriptions of this plugin. Plugin has been released for some time and is no longer in Beta.

Fails with missing login configuration

Project configuration settings:

project.plugin.WorkflowStep.JIRA-Issue-Exists.login=[email protected]
project.plugin.WorkflowStep.JIRA-Issue-Exists.password=keys/jira/jira-demo
project.plugin.WorkflowStep.JIRA-Issue-Exists.url=https://rundeck.atlassian.net

Error:

Failed: MissingConfiguration: login is required

19:30:55 | ย  | Execution failed: 27825 in project Route53_and_Jira: [Workflow result: , step failures: {6=Dispatch failed on 1 nodes: [Rundeck-1: MissingConfiguration: login is required + {dataContext=MultiDataContextImpl(map={}, base=null)} ]}, Node failures: {Rundeck-1=[MissingConfiguration: login is required + {dataContext=MultiDataContextImpl(map={}, base=null)} ]}, status: failed]

Rundeck Enterprise version: RUNDECK ENTERPRISE 3.2.0-20191218

Plugin does not work with only Access Token

In our Jira setup basic authentication is disabled, so I can only pass Access token. When I configured the work flow step to get issue details, I am getting the error "login is required", but corresponding curl request to get issue detail works without any user or password if access token is passed.

  curl --request GET \
  --url https://our-jira.net/rest/api/2/issue/issue-num\
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer access-token'

Is it issue with plugin or some configuration problem?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.