for task workflow when status is in new and if attachment was not added when status is New it should add a comment that Please supply image and ticket should assign to hub exceptions user. i know we can do this through automation but we want to use workflow only here.
i have created a custom field called image attached with values Yes and No.
when image attached value is No then it should add comment to that ticket like "please add comment" and assign it to user. in post function i added comment on issue by jmwe and selected add comment only if below condition is true. in that i added condition like
{{ issue.fields.customfield_26597 == "No" }}
but its not adding comment. can you help?
Hi @CHINNAMUTHEVISAI.SATYANARAYANASHARMA
If the custom field is a Checkboxes type custom field, then the condition should be:
{{ issue.fields.customfield_26597 | find({value:"No"}) }}
If it's a Radio buttons or single-select field, use:
{{ issue.fields.customfield_26597.value == "No" }}
Thanks. this is working as expected.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
is it possible to assign issue to some one in above case from workflow?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sure, you can use the Assign Issue post function with the same conditional execution code
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.