Skip to content

Commit 0148554

Browse files
committed
Add method to add field to default screen
1 parent 0456f50 commit 0148554

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

atlassian/jira.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2266,6 +2266,15 @@ def get_all_screen_fields(self, screen_id):
22662266
fields = fields + tab_fields
22672267
return fields
22682268

2269+
def add_field_default_screen(self, field_id):
2270+
"""
2271+
Add field to default screen
2272+
2273+
:param field_id: field ID to be added to default screen
2274+
"""
2275+
url = "/rest/api/2/screens/addToDefault/" + field_id
2276+
return self.post(url)
2277+
22692278
"""
22702279
Search
22712280
Reference: https://docs.atlassian.com/software/jira/docs/api/REST/8.5.0/#api/2/search

0 commit comments

Comments
 (0)