It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to set overrideScreenSecurity=true with Python

I'm using jira 2.0.0 Python modules to set some customfields.
All is working but for one customfield that is not in the edit screen of the issue I'm getting the message "Field 'customfield_xxxx' cannot be set. It is not on the appropriate screen, or unknown." I've checked that I can get rid of this error setting overrideScreenSecurity tu true but I'm not able to do it using jira for Python.
I get my issues in this way:

issues = jira.search_issues(jql, start_idx, block_size)
for issue in issues:
    issue.update(fields={'customfield_10740': 'my value'})

How can I set this parameter ?

Thank you in advance.


1 answer

0 votes

Hello @Francesco R 


The error message "cannot be set. It is not on the appropriate screen, or unknown", means that the field is not on the edit screen. You will need to add it to the screen.

I think the python module work like the API REST, so you can only do what you can do on the UI.


Hope this helps

Yes, it's not on the edit screen and if I put the customfield on it, the python script works.
But I read that to get rid of this problem (I don't need to put the cf on the screen, it's a "service" customfield) I could set on the API rest the parameter with something like

/rest/api/2/issue/' + issueKey + '?overrideScreenSecurity=true

but I'm not able to do this with jira Python modules

This security parameter seems to work only for app according to the documentation


Connect app users with admin permissions (from user permissions and app scopes) can override the screen security configuration using overrideScreenSecurity and overrideEditableFlag.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

365 views 1 3
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you