Forums

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

JIRA Automation no - Auto Status Transition from NEW to Open and auto assignment is not working

Santosh Prajapati
Contributor
October 23, 2022

Dear Sir/ Madam,

Client Requirement : - All defects reported by a group of business user must get auto transitioned from NEW status to 'OPEN' status and must get auto assigned to development team.

Our Workflow starts with 'NEW' --> Open --> and thereafter other transition.

For achieving this, I've created a rule which fails every time at the time of transition change...

Need guidance where I'm going wrong in my query and how to achieve this automation.

 

Regards

Santosh Prajapati

2 answers

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 23, 2022

@Santosh Prajapati 

In your Rule Details what is the Actor value set to?

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 25, 2022

With the Actor for your rule set to "Automation for Jira" you need to ensure that the project role "atlassian-addons-project-access" is granted access to execute the Status Transition. Currently you have limited the transition execution to user groups only, so the Rule Actor does not have permission to change the Status of the issue.

Alternately, if the Rule is triggered by actions only the users in the permitted groups can execute, then change the Rule Actor to 'User who triggered the event'

Like Morgan DUBUISSON likes this
0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 23, 2022

What is the query, and failure?

Santosh Prajapati
Contributor
October 23, 2022

JIRA Automation Error.pngSharing screenshot of the query and audit log of the error. Basis the error, I've checked the 'Issue Security Scheme' where the said user has the rights along with the workflow for transitioning from New to Open still getting this error. Please advise.

Santosh Prajapati
Contributor
October 23, 2022

JIRA Automation Error-1.pngSharing additional screenshot of 'Issue Security Scheme' as well as 'Workflow' where the required rights are already extended to the group.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 23, 2022

The error message is clear - the Automation user cannot use that transition.  Security scheme looks fine, but what permissions do they have in the project and the rest of the conditions?

Like Ismael Jimoh likes this
Morgan DUBUISSON
Contributor
October 23, 2022

Hi,

For help you, 

You can look : 

<YOUR-SITE>/secure/admin/PermissionHelperAdmin.jspa

<YOUR-SITE>/plugins/servlet/project-config/<YOUR-PROJECT>/permissions

Santosh Prajapati
Contributor
October 25, 2022

JIRA Automation Error-2.png

Sharing screenshots as per suggestion. Still getting an error. Please advise.

Morgan DUBUISSON
Contributor
October 25, 2022

Hi, 

What is your Actor 's Rule ?

automationactor.PNG

Santosh Prajapati
Contributor
October 26, 2022

It is 'Automation For Jira'.JIRA Automation Error-3.png

Santosh Prajapati
Contributor
October 26, 2022

Hi,

My automation rule has successfully triggered. Thank you for all the support.

I've made below suggested changes to make it work which was missed earlier by me - 

"With the Actor for your rule set to "Automation for Jira" you need to ensure that the project role "atlassian-addons-project-access" is granted access to execute the Status Transition."

 

Thank You

Santosh Prajapati

Suggest an answer

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

Atlassian Community Events