Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Disable custom fields in View screen by using IfDisable is inconsistent

Meital May 26, 2020

Hello,

I'm using Live Fields (Power Script) and would like to disable some of the fields in the View screen. In order to do so, we are using IfDisable option in our script.

if (argv["screen"] == "view"){
    lfDisable("customfield_XXX");
    lfDisable("customfield_YYY");
}

Customfield_XXX is a drop down field and is disabled as expected

Customfield_YYY is a URL field and is not consistent with the disable mode. When accessing the issue the field is enabled, after refreshing the page it becomes disabled. Also, after editing the issue and returning to the view page the field is disabled. However, going to another issue and then getting back again to the old issue, the field is enabled again.

Is this a bug? any idea how this can be fixed?

Thanks,

Meital

1 answer

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 22, 2020

Hello @Meital ,

If this bug is still valid for you. Please, register a ticket in Cprime support system:

https://marketplace.atlassian.com/apps/43318/power-scripts-jira-script-automation?hosting=cloud&tab=overview

I also have the same problem with the URL field.

Suggest an answer

Log in or Sign up to answer