I am connect app developer , i am able to get screens using jira API
GET /rest/api/2/screens
then to get screen tabs i am using API
GET /rest/api/2/screens/{screen_id}/tabs to retrieve screen tab data however it returns response 400 with following response
{
"errorMessages": [
"Screen with id "screen_id" does not exist"
]
}
Hello @Sandesh Chatarmal {Revyz}
Welcome to the community.
If you have imbedded that REST API call into code then you need to use the proper syntax to indicate that "{screen_id}" is a variable that needs to be replaced with an actual value within the string you are using for the API. And you need to set the screen_id variable to the actual ID of screen you retrieved in the earlier API call.
Hello @Trudy Claspill Thanks for your replay,
Sorry for the confusion, have used screen id there , it just the variable.
The actual request is:
GET /rest/api/2/screens/10002/tabs
My observations are:
if there is screen with scope of PROJECT it throws that error,
but now it throwing same error for other scope also.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sandesh Chatarmal {Revyz} , welcome on the community :). You obviously invoke REST API with query
but you need to replace {screen_id} with identifier of the screen, like
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Martin Bayer _MoroSystems_ s_r_o__ ,
Thanks for your replay,
Sorry for the confusion, i have used screen id there , it just the variable.
The actual request is:
GET /rest/api/2/screens/10002/tabs
My observations are:
if there is screen with scope of PROJECT it throws that error,
but now it throwing same error for other scope also.
So even though the screen exists i am getting same error
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.
Hello @Martin Bayer _MoroSystems_ s_r_o__
The actual error message:
{
"errorMessages": [
"Screen with id 10002 does not exist"
]
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ok @Sandesh Chatarmal {Revyz} can you share the response of /rest/api/2/screens ? I can't replicate the problem on my site. So I'd like to check. Few things came to my mind
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.