Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63936

Use System credentials with jira step plugin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: jira-steps-plugin
    • Labels:
      None
    • Environment:
      jenkins 2.176.3 jira-steps:1.6.0
    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            tomko Tom Kostiainen added a comment - - edited

            We are experiencing the same and want to restrict the scope of the credentials.

            We have Jenkins 2.235.5

            Show
            tomko Tom Kostiainen added a comment - - edited We are experiencing the same and want to restrict the scope of the credentials. We have Jenkins 2.235.5

              People

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

                Dates

                Created:
                Updated: