Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Automation Actor "Automation for Jira"

I am triggering an Automation that transitions an Issue. Automation Actor is "Automation for Jira". In the post function of the Workflow, there is a script that updates the issue.

As the transition is triggered by the Automation, the post function runs in the context of "Automation for Jira". 

The postfunction fails, as "Automation for Jira" does not have the permissions to edit the issue.

Question is: how can I fix that?

"Automation for Jira" is not a user that I can add to the project. Is there something in the permission scheme that I need to change?

Thanks in advance,

Bernd

2 answers

1 accepted

2 votes
Answer accepted
Valerie Knapp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 11, 2023

Hi @Bernd Anderer , thanks for your question.

Yes, you are correct. You should be able to grant the permission to edit the issues in the project permission scheme. Typically by default, there is a project role for atlassian-addons-project-access, which you can then just enble in the permission scheme the permissions you want to give that role, like this -

image.png

Hope this helps. 

Cheers

Hi @Valerie Knapp 

thank you for your answer. The problem is ... I already did that.

The permission is set to Browser, Edit, Transition and some more.

When I use my user account instead, it works. 

Could it be that the Plugin has a problem with the "Automation for Jira" Actor?

Bildschirmfoto 2023-10-12 um 10.21.01.png

Valerie Knapp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 12, 2023

Hi @Bernd Anderer , thanks for your reply. Is the post function one of the standard ones or are you also using an app for this, like ScriptRunner?

It's a Powerscripts Script. 

Valerie Knapp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 12, 2023

Hi  @Bernd Anderer , is the Powerscripts post function the last one in the list?

Writing Conditions Validators and Post Functions - Power Scripts for Jira Cloud - Appfire (atlassian.net)

You can also open a ticket directly with the vendor of Powerscripts to ask for help. 

Power Scripts - Jira Workflow Automation | Atlassian Marketplace

Hi @Valerie Knapp 

it is the last one - I made that mistake before ;-)

I guess I'll open a ticket then.

Thank you for your support! 

Like Valerie Knapp likes this
Valerie Knapp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 12, 2023

You're welcome. I hope they can help you get it working. Good luck! :)

0 votes
S Naveen Kumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 11, 2023

Hi @Bernd Anderer ,

Thank you for reaching out to the Atlassian community!

You may change the rule Actor for the Automation rule and select the user who has access to perform the action and give it a try.

Jira Configuration - Jira 2023-10-12 at 9.13.49 AM

Thanks

Hi @S Naveen Kumar ,

I tried this, and it worked. But I want to avoid named users for Workflow related functions. Once that user is not around anymore you need to cleanup your projects - I try to avoid that ;-) 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events