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

Use System credentials with jira step plugin

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • jira-steps-plugin
    • None
    • jenkins 2.176.3 jira-steps:1.6.0

    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

            gregory_boue Grégory Boué created issue -
            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

            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
            dplatonoff Dmitry Platonoff made changes -
            Field Original Value New Value
            Link This issue relates to JENKINS-64083 [ JENKINS-64083 ]

            People

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

              Dates

                Created:
                Updated: