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.