Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×I am using C# and rest sharp to create a jira issue of issue type test and would like to get the issueID back for the issue I just created. Is there someway of doing that by pulling it out of the response? Or what is the easiest way of doing it, ideally without having to do a new query to query the issue just created.
Thanks.
The response of the create issue call already had the issue id in it. Following is a sample json response:
{
"id": "10000",
"key": "TST-24",
"self": "http://www.example.com/jira/rest/api/2/issue/10000"}
You can extract the "id" from it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.