Dear all,
I have the following JQL condition in a automation rule
As you can see above, the no match condition is checking the existance of a linked issue where summary contains the selection of the custome field list string value
The used, of it is that if the linked issue exist, It should not created a linked issue of same summary staring
In sample below, the parent issue custom field is defined as "Agence Additionnelles"
As you can see from the Issue Liknked, it has created ducplicated linked issue. The goal of my JQL condition is suppose to guaranty only one single entry with same summary string
But this is not working, any idea about the syntax to be used ?
regards
Hello Calderara
I am assuming your custom field is a single select (not a multi-select).
If that's the case then the smartvalue syntax would be:
{{issue.mycustomFieldName.get(0).value}}
the .get function gets the index of an array. So "0" is the first index.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thnaks for your reply @Garrett McCreery ,
I have change the rule condition as you sugest as it is a single list select but it does not work either.
As you can see from the picture below, I have select for instance M-Cube in the list and the corresponding issue should have been created as it is not existing yet but it does not ?
Any idea ?
PS : Note that I am on Data Center version
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After your automation step of "If: Agence Additionnelles is not empty", can you log the value, so that we can see what the value is coming back as?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Here is the log capture
Field log is reported as empty
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Instead of displaying what I sent, please try logging:
{{issue.Agence Additionnelles}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, I get it to work by using the following syntax :
summary ~ "{{issue.fields.Agences additionnelles.value}}"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello @Garrett McCreery , I still have a wierd issue
I have add as log in my Automation rule the field {{issue.fields.Agences additionnelles.value}} which return the correct value
But this condition below in my rule
summary ~ {{issue.fields.Agences additionnelles.value}}
Which should says that if summary field contains the custome field valule, then it should not create it but it is creating them, seems the condition is wierd or not working
For exemple below, it has created the M-CUBE linked issue while it was already existing
Any idea what is wrong ?
regards
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.
Do you know how to remove that? just use .trim() on the end.
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.