I have a Jira project that uses the default permission scheme. This scheme allows most things, but for signed in users (Application Access - Any logged in user). If I write a script that creates tickets using a service account and a PAT, is that connection considered "signing into Jira" or do I need to update my permission scheme to include that service account?
Form my years of experience, I would say that it does not. But, I would love to hear your input.
Thank you.
Hello @Jeramy
PATs belong to user accounts. Whether you consider that user account to be a 'service account' is entirely up to you.
It's considered good practice to have just such a 'special' user account set aside and used exclusively for performing admin / background tasks via the REST API. Give that user account a really obvious name to make it easy to differentiate via the event logs any action done by that account compared to a user account belonging to 'real' user.
@Sunny Ape - Thank you for the response. Follow-up question/related question.
If the Create Issues permission in the project's permission scheme is set to "Application access - Any logged in user", will that service account be able to create a ticket using the API outside of Jira?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try it for yourself and find out.
Have fun.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.