In Postman, click the Authorization tab (it should be to the right of Params). Make sure you’ve selected “Basic Auth” from the Type dropdown, and enter your account email address (NOT just your username!) as the “Username”, and the above-generated API token as your “Password”.
You should then be able to make any API requests your account has access to.
Also FYI: JWT is totally separate from Basic Auth, you don’t use one to get to the other. JWT is used in Connect apps
Thank you so much I tried to use the API Token with API Key in Postman and tried Basic Auth with password. But that this has to be combined in this way is not really logical
Two short questions / you will know
Is there some way to use the real password (or somehow encrypted) ? Or if we want to use some automated authentication we have to switch to o2auth
why I ask. Lets say I want to connect a ticketing system = create stories/tasks. Now can I connect always with the same user to jira and create stories/tasks like different user or I have to login always with the user which should be shown as createor of the story/task
A Connect or OAuth 2 app would be better for your situation.
If you decide to build a Connect app (and list it in Atlassian Marketplace) you’ll need the ACT_AS_USER scope in order to do actions on behalf of a user.
OAuth 2.0 is always on behalf of the user who authorized, so you’ll have the same scopes as that user anyway.