The Issue ID in the 1st screen shot is same as the id field that we got as a part of response response to get issues API call in 2nd screenshot
@Sai manoj kumar_ Kolisetty ok got it
The id
field is the number that represents the issue in the database, what you want to do is use the key
instead, like:
key != ABC-1234
And that should work. As a side note, you can view the ID of the issue by doing:
/rest/api/2/issue/ABC-1234
And in the JSON Repsonse, you'll see:
{
"id": "81250",
"key": "ABC-1234",
...
}
So if you really wanted to, you could then do:
id != 81250
Thanks for clarification
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sai manoj kumar_ Kolisetty
Welcome to the community,As per your screenshot Issue id is description/summary right so need to use ID of that field
In the 2nd Screen shot ID is project id
Hope this help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Pasam Venkateshwarrao thanks for reply
i think you misinterpreted it , actually the above screen shot is not an issue list , it's fields API (field metadata) fetched using <JIRA_END_POINT>/rest/api/2/field
and the second screenshot is list of issues fetched via (GET /rest/api/2/issue/{issueIdOrKey}) and id here is specific to issue
So now what my question is:
Is the issue ID I got in the fields list is same as id that has come with issue's API repsonse ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.