Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation for Jira - Send web request using Automation for Jira actor API token

Jared Shackleton
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 27, 2022

I'm trying to generate an API token for the Jira service account "Automation for Jira".  Is this possible or do I need to create a robot account which would consume an additional license?

 

Background: I have an automation rule that updates GoLive environment matrix with the versions number whenever a version is released among other things. There is the service account Automation for Jira that is the actor of the rule but having trouble impersonating the account to create a token. I'd rather avoid creating an additional user for this as would consume an additional license.

 

Thanks,

J

1 answer

0 votes
Aron Gombas _Midori_
Community Champion
April 28, 2022

I think the actor must always be a user. Maybe you could try this:

  1. Create the robot account
  2. Create the API token for this
  3. Choose the robot account as actor for the automation rule
  4. Disable the robot account

As far as I know, disabled accounts don't contribute to the user count, but if you're lucky, the automation rule may work with those. It is worth a try I guess.

Suggest an answer

Log in or Sign up to answer