Hi,
I want to build a global automation rule that uses an 'If/Else condition' component to fill a specific field only if the field exists on the issue screen. Else - If the field does not exist, the rule should not attempt to fill it.
Currently, I am encountering an error message: 'The set fields may be unavailable for this project/type'
How can I build this rule correctly?
That is likely possible by calling the REST API endpoint (with the Send Web Request action) to get the create issue metadata for the specific project and issue type, and checking if the "set" operation is available. Other than checking for a single field, that seems quite elaborate just to prevent a rule error.
Another alternative is if you know the issue type, the rule could use dynamic JSON to add (or not add) the field.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.