Hi all,
I am struggling to create a JIRA automation rule (for a single project) that goes as follows:
(See screenshot provided)
Unfortunately, when implementing the rule and triggering the event, no comments are created. It doesn't seem to work nor are the audit logs clear on showing what the issue is.
I've tried other options but I am not sure where I am going wrong as I am trying to identify if any linked issues are of a specific issue type and then do a certain action on the triggered issue... but I need some help on this one.
Hello @Riccardo Gentile
Do you want the same comment created if either of the conditions is matched? Or do you want different comments?
Do you want it to make both comments if both conditions are matched?
Can you show us the details in the IF conditions you created?
Hi @Trudy Claspill
Answer to your questions:
I am only using the "add comment to issue" command to test if the automation rule works.
In the screenshot, I am creating different comments depending on which way the logic is directed by the automation process.
The main issue is that neither of the comments are being created (i.e. the automation doesn't get passed the IF conditions.
I will add a screenshot of each IF condition below (see added screenshots)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Riccardo Gentile
Your use of a smart value here is incorrect.
In the context of your rule as it currently is constructed {{issue. here refers to the issue that triggered the rule, not the linked issues.
In this case, the smart value you have used actually has no value.
{{lookupIssues}} has a value only when a Lookup Issues action has been used, and you have not used that action in your rule.
In the context of your rule and the condition you are trying to use your JQL should be simply:
issueType="Change Request"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Trudy Claspill
Thank you kindly for your assistance and your suggestion.
Unfortunately, it did not work.
I changed both parts to match the JQL you recommended (see screenshot) to see if I would get at least one of the IF conditions to react but the audit log shows no responses to the change. (see screenshots)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Trudy Claspill
I am such a fool!
Your recommendation worked.
The reason it didn't seem to work initially was because I forgot to set the scope to Global (instead of just to one project) since the linked issue is from a different project.
So including setting the correct scope and your recommendation, it solves my issue.
thank you kindly
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.
@Riccardo Gentile You might take a look at this thread for the first part: https://community.atlassian.com/t5/Jira-questions/Is-it-possible-to-use-automation-for-a-certain-issue-type-being/qaq-p/1957825
Nicolas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nicolas Grossi
Thank you for the response and reference.
Unfortunately, it doesn't quite relate to the issue I am struggling with.
I am able to detect the issue type of the issue that has triggered the automation rule.
But my problem is I am trying to detect if there is a specific linked issue to the original issue that triggers the automation rule.
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.