Open
Conversation
…alues matching those parameters
- Also allow the script to accept command line parameters under the same names. (ie --api_token)
- If both sources are missing, only then prompt the user to input the parameter values.
- If no project ID is given, display a list of existing projects for user to choose.
- Look for header row in CSV file and match each column with Work Package field (ie "subject")
- Allow for csv file to have its own ID and Parent columns, and will create child tasks based off which task has parent id defined. (if Task ID 2 has a parent column as 1, then this task will be the child task of task 773-process-312#1. In OpenProject the actual task ID number will be different)
- Will scan for all members listed under project for name assignment
- Admin assigned to the project will have all inserted tasks assigned to admin by default
- If the "assignee" or "accountable" column exist in CSV, it'll try to match the name with what's found in the member list
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For my project I've added a number of features to the script to suit my need.
I still suck at Python and I'm on a time crunch so most of this code is AI generated. As a result a lot of your original code had been altered. So feel free to throw all this in the garbage. :)