detect whether custom field is defined within a project?

I have to create a youtrack workflow which ensures parent for/subtask of constraints for my custom super-usable field.
I am not able to add that field to all of the projects which we have right now, but the issue tree spans mostly all of them.

Hence, I either have to:
  • somehow check that issues DO really have the field defined
  • give up and add the field to all the projects

Unless I go one of the ways above there's always a hefty chance that YT gets completely unusable.

So, I would strongly disagree  statement here:
1 comment
Comment actions Permalink
Unfortunately there isn't a way to define it in workflow.

You can try attach this workflow to a project with the Field attached and check other issues by the result of the method issue.project.valuesFor(Field).

Please sign in to leave a comment.