Forums

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

How can I check a user's permission status before attempting an Automation rule action?

Brock Jolet
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.
January 26, 2022

I have a rule configured that checks a custom field, "Linked Watcher List", and tries to add that list of users as watchers. Sometimes those users intentionally do not have the browse permission on the project and result in an error.

 

I am able to do a compare check after trying to add the users which will trigger an email to the reporter if there is a mismatch between the requested watchers and the actual watchers.

 

However, this still results in an error in the audit log. I would like to implement an if/else that checks if the requested users have the proper permissions prior to trying to add them as a watcher. I'm hoping there is some advanced voodoo that will enable this.

 

Here's my current rule:

2022-01-26_10h53_02.png

2 answers

1 accepted

0 votes
Answer accepted
Kian Stack Mumo Systems
Community Champion
January 26, 2022

@Brock Jolet

 

There isn't anything like that which can be done.

 

Thanks,

Kian

Brock Jolet
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.
January 26, 2022

Well, that's unfortunate.

 

Thanks for the reply.

Charlie Gavey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 7, 2022

Hi there,

I’ve linked your suggestion to a related feature request, which counts as an upvote for this ticket:

https://codebarrel.atlassian.net/browse/AUT-1391

Thanks for letting us know.

Cheers,

Like # people like this
Phill Pafford
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 2, 2023

can I also upvote this this as well? 

0 votes
Yanqiu Zhang
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!
May 16, 2024

Hi, is there any progress about this ticket AUT-1391 please? I'm also troubled by this problem, but can not view the ticket due to:

"doesn't have access to Jira on codebarrel.atlassian.net."

Thanks.

Suggest an answer

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

Atlassian Community Events