Good day jira-team!
I have another question to this topic and I hope I have found the right spot to put my question.
I experimted with your proposals, Bill, and also used AI for help. I created a rule that is working decent, but I still struggle with the part how to check mentioned users in my branch, if they like comment.author belongs to a certain group like jira user and not customers and then add the mentioned users to the customfield.
Here is my created rule, as you asked:
As you see I tried to make this test for groups by using assignees, but for some reason it isn't working. Do you what I am missing?
Best regards,
Artur
Hi @Artur
What part is not functioning to your desire?
Can you show your rule in screenshots and the audit log of a rule that ran, where are the values not returning on what you expect and what would you expect?
Hi Marc!
That's my error message that was located by edit issue: "user 'accoundId:' cannot be assigned to this issue"
So my idea to use the workaround about assigning the mentioned users to check their group status isn't working, because not every jira-user have the same rights be in the assignee role for every issue.
AI told me that there is another workaround by using webrequest (rest api). I want to ask, if there are other options to achieve that mentioned can be checked for their group?
Also I would like to know, if my rule is able to add multiple mentions from the comments to the customfield? I realized that currently only one user mentioned can be added.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Artur
Yes, you can use an API call, but the same applies, the users permission will be checked if this can be doen for this user, this is no different then the automation.
Still this could fail as this is based on the permission scheme used on a project and does that permission scheme use groups or roles?
Permissions schemes define the possibility if you want to do an action based on a user via automation or API.
There is no option to circumvent permissions if they are not granted, for a user.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your reply!
Is there a way to make an if-condition to ignore jira-users, who have not the permissions, so the automation rules works with different users based on the project? Or is it nessessary that all users have in the used group have the same permissions?
Can you also give me a link to the documentation to smart value {{comment.mention}} to see how it works and how it can be used? I read from AI how it's used, but the instruction to use this smart value from ai feels off. So I want to see from the official guide and to correct my mistakes.
Thank you in advance!
Best regards,
Artur
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Artur
If you want to execute actions based on users in a group, then all the users need the same permission on a project, so the group must be added to the required permissions in the permission scheme used on the project, or the group is assigned the role that has the equired permissions in the permission scheme.
Smart value documentation can be found here; smart-values-in-jira-automation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.