Read description for new Subtasks from File
This commit is contained in:
@@ -67,11 +67,11 @@ if __name__ == "__main__":
|
||||
# pprint(res.json())
|
||||
|
||||
# # bulk create subtasks
|
||||
# subtask_texts = [
|
||||
# "Prepare",
|
||||
# "Execute",
|
||||
# "Verify"
|
||||
# ]
|
||||
subtask_texts = []
|
||||
with open("sub-tasks.txt", "r", encoding="utf-8") as fh:
|
||||
for line in fh:
|
||||
subtask_texts.append(line.rstrip('\n'))
|
||||
# create
|
||||
# for text in subtask_texts:
|
||||
# subtask['body'] = text
|
||||
# ac.create_subtask(subtask)
|
||||
|
||||
Reference in New Issue
Block a user