I'm not sure its the right way to do it.
Basically, when someone pulls a dropdown (phase de projet - project phase to exploratoire - exploration) AND the rule in the issue was never executed, I want to trigger the creation of 5 subtasks.
At the end of my rule, i set the ruleexecuted property to "true" if the rule is executed. For some reason, this rule will always execute if I pull the right option in the dropdown (skipping the property.ruleexecuted equals "Vide"-"Empty" ...)
Is it a translation issue (issue to ticket) ? For some reason, half of my JIRA is in french and the other half is in english (cloud version) despite my parameter setted to "English US". My company is using french but its easier for me tu use english since all the forums and docs is in english. Do i need to use "Vrai" ("True") instead ? Translating "property" is a nightmare to be honest
Thanks for your time and sorry for my poor english.
Hello @Jean Francois Gelinas
Can you try using "Re-fetch issue data" action before your if condition and see how it goes? Looks like you need to re-fetch the issue to read the value you set via rule.
Aso try logging {{issue.poeperties.ruleexecuted}} by using "Log action" before if condition to see if this value was picked up or not? You can take debugging tips from here.
Thanks
Sherry
Hello @Jean Francois Gelinas
As I understand, the property should be used as {{issue.ruleexecuted}}. I would suggest you try this and share the findings.
Also, please confirm if this is a property or a custom field as I was unable to find it under properties or as a smart value.
Kindly accept the answer if this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Gaurav
I tried to run a much simplier (stupid) example using the ruleexecuted property. In the first image, if I try to use the {{ }} to set a property, I'll get an error.
Basically, in this example, if I'm changing the assignee, I wanna create a subtask. I set the ruleexecuted to true, and test this condition with a "if condition". As you can see, I dont enter the condition in the if block. SOmething is wrong and I really cant find it hehehe.
Thanks a lot for your time I appreciate it.
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.