Welcome to the Atlassian Developer Community, @AbhinavSrivastava !
In order for the community to help you better, can you give us more context of the problem?
The following details would also be helpful:
- what are you trying to accomplish (if in case we can suggest alternative routes)?
- what have you tried already?
- what specific API did you use?
I would also recommend going through this post to help you ask a good question to get the right information you need to move forward.
Cheers,
Ian