Hey @Krishna Desai
There's no API for such, you will need to come up with the logic in your application in order to achieve such. Alternatively, you could search in Atlassian Marketplace to check if there's any existing add-on that relates to what you're searching for.
the REST API in that sense is just a very powerful "set of tools you can use (like a big toolbox in your storeroom)".
But there is no endpoint available that would address what you are looking for.
All the logic, code and what else comes along with it would be needed to be done on your own.
You could search around Community if something similar has been requested in the past (I cannot remember, to be honest).
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events