ItemsIds Listener issue

I am using itemIds listener in my board view, as soon as i click on new task button, I get listener and in data I get itemIds, but one of the item id is ( -10 ), why am i getting such id, and is there any way of validating that a itemId is an actual valid item id, not any other number or string? or is there any way of removing that add task button from my board view.

Hello there @ankitnegi,

Would you be able to please submit this form with the information of the issue including the script you are using, the full response you get and the steps you are taking?

Looking forward to hearing from you :slightly_smiling_face:

Cheers,
Matias