Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×I have a requirement to automatically change service account Jira Token before expiration, but it seems I can't find right one, please point me to right document.
Thanks
This is possible with Server/Data Center: Creating PATs using REST API
But I'm not finding anything similar for Cloud: Manage API tokens for your Atlassian account
I believe that @Veera meant to say here that there is NOT "a REST END point which can be used to create API token on behalf of a user".
Further, Hans Z. on stackoverflow.com makes a good point:
Typically not because to access such an API you'd need an API token. Accessing such an API with username/password defeats some of the principles behind API/access tokens.
Thanks, I guess we have to manually renew it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah, sorry for the bad news. Could you please Accept my answer? Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Darryl Lee
So did you mean that we cannot use REST API to get PAT?
Is there any workaround rather than doing it manually we require to automate this PAT process and fetch it from the response body.
Thanks,
Jatin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.