Question: what is the difference between task and story in jira?
Answer: There is no true difference between a Story or a Task in JIRA Agile. If you need to break certain Stories up into items that have to be assigned to different teams I would advise you to convert this Story into an Epic and make new Stories of the sub tasks, these Stories can then be assigned to different teams.