dears please help how to write right the separations of the different fields values
{{
issue.fields.project.key == "CBS360" and issue.fields.issuetype.name == "Incident" and
issue.fields["Market Place"] | find({"value":".com"}) ["Problem Type"] | find({"value":"Awarding"}) ["Product"] | find({"value":"Casino"})
}}
Sorry for hurry
I am trying to add watchers when three fields values would be as mentioned in code
Please explain what are you trying to do and what fields are involved etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have not said what you are trying to do with this query. Please could you explain what you are trying to achieve?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Nic Brough -Adaptavist- ,
I have been noticing your name in the community since I started my Atlassian career, your answers have helped a whole lot of people and I am one of them. Thank you for the great job that you're consistently doing for the community. From learning from the community here I am answering few questions now and then, is there any advice that you would like to share for me, to perform well in this community? I would love to hear few words from you.
Cheers,
Kevin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i am trying add watcher when three field values are match . this code not working and please help to correct. no any errors
{{
issue.fields.project.key == "CBS360" and issue.fields.issuetype.name == "Incident" and issue.fields ["Problem Type"] | find({"value":"Awarding"}) and issue.fields ["Market Place"] | find({"value":".com"}) and issue.fields ["Product"] | find({"value":"Casino"})
}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @valkyre57 ,
I would be glad to help you, but can you please elaborate on what are you trying to achieve here.
Regards,
Kevin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am trying to add watchers when three fields values are set.
when field "Market Place" value is ".com" and field "Problem Type" value is "Awarding" and field "Product" value is "Casino" then add watcher
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
{{ issue.fields.priority.name == "Blocker" and issue.fields["Project"].key == "TST" and issue.fields["Status"].name == "Open"}}
consider priority, project, status instead of your field values, using "and" between all the fields and for comparing "==" can be used as all other fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for answering dear
i tried this but no adding watcher and no any errors please check
{{
issue.fields.project.key == "CBS360" and issue.fields.issuetype.name == "Incident" and issue.fields ["Problem Type"] | find({"value":"Awarding"}) and issue.fields ["Market Place"] | find({"value":".com"}) and issue.fields ["Product"] | find({"value":"Casino"})
}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As I have mentioned above try to choose the custom field value and use "==" to check equals. I'm not so sure how find({""value:}) works.
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.