Use System credentials with jira step plugin

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: jira-steps-plugin
    • None
    • Environment:
      jenkins 2.176.3 jira-steps:1.6.0

      When i configure Jira sites in Jira Steps global configuration i choose login type credentials.

      Then I select a System credentials and click on Test Connection it's success.

       

      Then i try to create a pipeline job only with this line : 

      jiraGetServerInfo site: 'my-jira-site'

       

      I have the following result in my build : 

      ERROR: Current credentials does not exists

      If I change the system credentials into a global credentials it works as expected.

      For security reason i don't want that users of my jenkins instances can use the Jira account credentials with a withCredentials call.

            Assignee:
            Naresh Rayapati
            Reporter:
            Grégory Boué
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: