jpiquot / ChildTasksTemplate

Apache License 2.0
8 stars 4 forks source link

make task/child "name" the title [low priority] #14

Open o-o00o-o opened 2 years ago

o-o00o-o commented 2 years ago

To save duplication it would be good if the tasks.name provided the System.Title (if it was missing). I can't imagine why anyone would need a different tasks.name from the System.Title

So instead of

{
    "version": 2,
    "templates": [
        {
            "name": "Dev - Common",
            "tasks": [
                {
                    "name": "* Ensure requirement is fully understood",
                    "fields": [
                        {
                            "name": "System.Title",
                            "value": "* Ensure requirement is fully understood"
                        },
...

The name could drive the title to save the copy and pasting

{
    "version": 2,
    "templates": [
        {
            "name": "Dev - Common",
            "tasks": [
                {
                    "name": "* Ensure requirement is fully understood",
                    "fields": [
                    ]
...

perhaps this could be implemented alongside the ideas in #12

o-o00o-o commented 2 years ago

I've actually solved this for now by having a master simplified json (like #12) which creates the title name/value automatically.

So for me this is now a lower priority issue