How to get Screens via Rest API

Mamikon Papikyan May 24, 2021

Hi atlassian, I want to get all screens from jira via REST API. What url I will set for it.

NOTE: I've gotten url from docs.atlassian.com but /rest/api/2/screens not working. 

2 answers

1 accepted

0 votes
Answer accepted
Dave Liao
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 24, 2021

@Mamikon Papikyan - hi Mamikon! How are you accessing the URL? Are you using your browser, an app like Postman, or something else?

Via a browser, when I'm logged in with my Atlassian ID, if I access my Cloud site:

https://mycompany.atlassian.net/rest/api/2/screens

...then the browser shows me a list of screens.

If I use an incognito browser, then I get a 401 error.

Mamikon Papikyan May 24, 2021

Hi @Dave Liao I'm accessing it from python. But also when I'm trying to do it from browser nothing show me.. :( Also I get HTTP ERROR 405

0 votes
Mamikon Papikyan May 27, 2021

Thanks @Dave Liao I have received screens via rest api, the problem is jira version 7. That url not working on version 7 but I tried it in version 8 and it works perfectly.

Dave Liao
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 27, 2021

Oh, yikes! I thought you were on Jira Cloud, not Server/Data Center. Yes, there would be a different API version for each Jira version...

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events