Hi,
we would like to execute a jira automation on an issue only if a specific condition on the project is met.
Use case:
If a team member A assigns an issue to an user B that has a specific role (customer), the security level changes to external. To raise awareness, we send an email to user A that reminds him that the issue is now visible to external users.
However, there are some projects that don't need to differentiate between customer and team member whe it comes to security levels. For these projets wihtout security levels, the automation should NOT be active.
We are looking for a condition within the automation rule that goes something like this:
- if the project of the edited issue has security scheme xy, then do ...
However, we can't find the possibility to define a condition for the project, only for the issue itself.
Are we missing something or is this not possible?
Thank you in advance
Hi @ICMS _ JIRA -- Welcome to the Atlassian Community!
There is nothing built into automation rules to support such a check.
However you could call the REST API from the rule using a web request, checking either the issue or project security scheme. Such a rule would take a few seconds to run due to the API call.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @ICMS _ JIRA and welcome to the Community!
No, there is not such a setting. However, in the configuration of your automation rules you can specify the list of projects the rule would apply to.
Admittedly, you would need to manage/update your automation rule potentially when you add new projects, but it would be manageable through a bit of documentation and governance. And it may be a feasible workaround for your use case.
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
okay, many thanks for the quick response!
We will probably do it this way..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Welcome to the community
You can access some project detail (id, key..) via smart value
You could try to create a condition based on this value like if project key = XXX do that or do that. The issue with this scenario is you will need to have a hardcoded list.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
thank you for the quick response!
It seems like that solution is almost like the one suggested by @Walter Buggenhout , so we will porbably do it that way.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.