I have an automation that I created where it creates several subtasks based on a value on the custom fields. It is working pretty well, but I added a condition to create a subtask and auto-assign to a user for a text field and it's not working. I tried the values to set to "is not equal to" and "is not empty but neither is working.
Is there a way to create a subtask and auto-assign it to a user when the field value is not empty?
You should be able to do it by using the JQL condition, something like this:
description is not EMPTY
What is not working, the JQL or your automation? I just tested this automation in my sandbox and it works as expected:
Some of the components do not support searching on empty values, like the issue lookup one, but the JQL condition in the if/else one does support it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Mikael Sandberg Thanks for looking into this and your input.
This is how I have it set up: I have a bunch of subtasks that are suppose to be created based on the values on the custom fields and then auto-assign to specific users. I have tested this against fields which are select list/multi-select list/text field. The Subtasks are getting created based on the value of the custom field but this particular field is a text field and the automation didn't create the subtask. Below are a few screenshots of some of the parts of the automation...
.
.
The top two fields are select lists whereas the Accountabilities field is a text field.
I am also having another issue where whenever the ticket is updated, this created duplicate subtasks. I know why it's happening but I haven't figured out a solution for it yet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay, instead of the issue field condition, use the JQL one see if that helps, similar to what I did in my test automation above.
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.
If you check the audit log, what does it say when you get to checking if Accountabilities is not empty?
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.