File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -5792,3 +5792,18 @@ def duplicated_account_checks_count(self) -> T_resp_json:
5792
5792
"""
5793
5793
response = self .get ("rest/api/2/user/duplicated/count" )
5794
5794
return response
5795
+
5796
+ def dark_feature_management (self , key : str , enable : bool = True ) -> T_resp_json :
5797
+ """
5798
+ Dark Feature Management
5799
+ https://confluence.atlassian.com/jirakb/dark-feature-management-1063554355.html
5800
+ https://confluence.atlassian.com/jirakb/how-to-manage-dark-features-in-jira-server-and-data-center-959286331.html
5801
+ i.e. sd.sla.improved.rendering.enabled
5802
+ :return:
5803
+ """
5804
+ if enable :
5805
+ data = {"enabled" : "true" }
5806
+ else :
5807
+ data = {"enabled" : "false" }
5808
+ response = self .put (f"/rest/internal/1.0/darkFeatures/{ key } " , data = data )
5809
+ return response
You can’t perform that action at this time.
0 commit comments