Swati, it looks like you question has been discussed in a previous post. Check this discussion out.
Hope it helps!
do you know this tutorial? https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-oauth-authentication/
there are examples in multiple programming languages, so it might help you too:
In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to have–in order to produce a reliable long-term roadmap. We're tur...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG