Does status transition conditions affect Automation Actor-Jira Automation

Mahanth Prudhvi P
Contributor
March 1, 2024

Hi,

I am trying to create an automation.....

It is scheduled

Condition is JQL(No user condition)

Action- Need to add a comment and update the status 

But  this transition has user role conditions.

Scenario Result 1 : When the actor is Automation for Jira, it is adding a comment but failing to update the status

Scenario Result 2 : When I change the Automation actor to the user that meets the status transition condition It can do both Adding comment and update the status.

 

Is the transition user condition restricting the Automation for Jira from updating the status

and if so how can I achieve it with Automation Jira as a actor.

Thanks

3 answers

1 accepted

4 votes
Answer accepted
vinz
Contributor
March 1, 2024

Hi @Mahanth Prudhvi P 

In Project Settings/Permissions, try to add Automation for Jira user In Transition Issues permission

Permissions.png

Mahanth Prudhvi P
Contributor
March 1, 2024

Hi @vinz Thanks for your quick reply.....I was trying different scenarios.

It failed even after adding transition issues to automation for jira but it did give me an idea.

Solution:

I gave transition and resolve issue permission to Automation For Jira and added an extra workflow condition "Only users with Resolve Issues permission can execute this transition"

Now it working fine

1 vote
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 1, 2024

Hi Mahanth,

Yes it would since you have conditions. Make sure to add a condition for either the Project Role for atlassian-addons or the Group for atlassian-addons, so the actor can transition the issue. 

Mahanth Prudhvi P
Contributor
March 1, 2024

Hi @John Funk 

Thanks for your suggestion.

I believe we can't add either atlassian-addons or Automation for Jira to roles or groups.

They are not available when I tried.

1 vote
Craig Nodwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 1, 2024

Hi @Mahanth Prudhvi P what is the transition condition?  Is it based on a group or role?  If yes then add the automation actor to that group or role.

Mahanth Prudhvi P
Contributor
March 1, 2024

Hi @Craig Nodwell 

Thanks for your suggestion.

I believe we can't add either atlassian-addons or Automation for Jira to roles or groups.

They are not available when I tried.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events