I need a way to create jira ticket using Rest API with a token that is not connected to any particular user. I found API Key Manager as a probable solution to my case but couldn't figure out how to use it for creating issue.
I used the token in header apiKey:<Token> but i am getting error that i don't have permission.
Thank you!
Do you mean API token here?
If you do, then note that the token belongs to a Jira user account. If you use it to authenticate and create an issue, then that user will be the reporter of the issue.
Yes API Token. We are trying to implement an automatic ticket creation in case of errors in server and we don't want it to be connected to any particular user, so that we don't have to change the token when a person leaves. But seems there is no such possibility?
thanks @Aron Gombas _Midori_
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
An issue must always have a reporter.
But, in this case, you could just create a user account intuitively named (e.g. "auto-creator" or something) and use that only for this purpose. That would properly fill the reporter field, yet it would be distinguishable from human users.
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.