Skip to content

[BUG] When retriving project node Contet.title and Fields.Title do not contain the same info #238

Description

@rulasg

Response from API

Content

"content": {
        "__typename": "Issue",
        "id": "I_kwDOSTtCEM8AAAABO82qCw",
        "body": "**Subject:(MoonActive Migration Plan)**\n\nTo be clear, im working on migrating orgs into our EMU enterprise moonactive-enterprise from our source enterprise moonactive, and the package storage numbers don't add up for me — I'd appreciate help understanding how storage is actually calculated.\n\n- Source enterprise moonactive (all orgs): ~40/50 GB packages.\n- Destination enterprise moonactive-enterprise: 50/50 GB (maxed), even though I've only migrated 2 orgs so far (moonactive-emu-cm and moonactive-emu-fi-mc), which are copies of source orgs.\n\nI verified the packages are effectively identical between source and destination — same package list, same version counts per package (e.g. calendar-frontend: 2452 vs 2451), and same tarball byte sizes per version (spot-checked many; ~1:1). So the underlying data is the same on both sides.\n\nWhat I don't understand:\n1. How can the destination (2 orgs) exceed the source enterprise's total for all orgs, if the destination data is a subset that's identical byte-for-byte?\n2. How is package storage actually measured toward the 50 GB limit — is there cross-version or cross-org deduplication/compression applied, and does it behave differently between a legacy enterprise and one on the new metered billing platform?\n3. Your enhanced billing usage report for the destination attributes ~53,650 GigabyteHours of Packages storage to moonactive-emu-cm alone — can you confirm how to convert that to the standing GB counted against the 50 GB cap, and why the source enterprise's report looks so different for the same data?\n4. What are my options here, as we are already maxed 50/50 gb?",
        "author": {
          "login": "rulasg"
        },
        "title": "TO DELETE - USE ON DELETE LAB",
        "updatedAt": "2026-09-01T05:59:54Z",
        "createdAt": "2026-08-31T08:52:25Z",
        "number": 32,
        "url": "https://github.com/githubcustomers/other/issues/32",
        "state": "OPEN",
        "repository": {
          "name": "other",
          "owner": {
            "login": "githubcustomers"
          }
        },

Field

  "__typename": "ProjectV2ItemFieldTextValue",
            "text": "[moonactive] Subject:(MoonActive Migration Plan)",
            "field": {
              "__typename": "ProjectV2Field",
              "databaseId": 35609105,
              "id": "PVTF_lADNJr_OADU3Ys4CH1oR",
              "name": "Title",
              "dataType": "TITLE"
            }
          },

Full trace

> gpi PVTI_lADNJr_OADU3Ys4OLQ4Y -Force        
[09:11:14.220][ProjectHelper][D][api] >>>
[09:11:14.220][ProjectHelper][D][api] Default host github.com
[09:11:14.220][ProjectHelper][D][api] Token from GetToken for host [github.com]
[09:11:14.449][ProjectHelper][D][api] [[QUERY]]
[09:11:14.449][ProjectHelper][D][api] query($itemId: ID ! $lastComments: Int=10) {
  node(id: $itemId) {
    ... on ProjectV2Item {
      id, type, fullDatabaseId,
      project{ id, url, title, number, readme, shortDescription,
    owner{
        ... on User{login}
        ... on Organization{login}
    },
}
,
      content{__typename,
           ... on DraftIssue {id,body,title,updatedAt,createdAt},
           ... on PullRequest{id,body,author{login},title,updatedAt,createdAt,number,url,state,repository{name,owner{login}}
             comments(last: $lastComments){
                totalCount,
                nodes{createdAt,updatedAt,url,body,fullDatabaseId,author{login}}
             }
           },
           ... on Issue{id,body,author{login},title,updatedAt,createdAt,number,url,state,repository{name,owner{login}}
             parent{ id, title, state, url }
,
             comments(last: $lastComments){
                totalCount,
                nodes{createdAt,updatedAt,url,body,fullDatabaseId,author{login}}
             },
            subIssues(first: 100){
                totalCount,
                nodes { id, title, state, url }

            }
           }
        },
      fieldValues(first: 100){
           nodes{__typename,
           ... on ProjectV2ItemFieldDateValue{date,field{__typename,... on ProjectV2Field{databaseId,id,name,dataType
                    },... on ProjectV2IterationField{databaseId,id,name,dataType
                    },... on ProjectV2SingleSelectField{databaseId,id,name,dataType,options{id,name
                        }
                    }
                }
            },... on ProjectV2ItemFieldIterationValue{title,startDate,duration,field{__typename,... on ProjectV2Field{databaseId,id,name,dataType
                    },... on ProjectV2IterationField{databaseId,id,name,dataType
                    },... on ProjectV2SingleSelectField{databaseId,id,name,dataType,options{id,name
                        }
                    }
                }
            },... on ProjectV2ItemFieldLabelValue{labels(first: 10){nodes{name
                    }
                },field{__typename,... on ProjectV2Field{databaseId,id,name,dataType
                    },... on ProjectV2IterationField{databaseId,id,name,dataType
                    },... on ProjectV2SingleSelectField{databaseId,id,name,dataType,options{id,name
                        }
                    }
                }
            },... on ProjectV2ItemFieldNumberValue{number,field{__typename,... on ProjectV2Field{databaseId,id,name,dataType
                    },... on ProjectV2IterationField{databaseId,id,name,dataType
                    },... on ProjectV2SingleSelectField{databaseId,id,name,dataType,options{id,name
                        }
                    }
                }
            },... on ProjectV2ItemFieldSingleSelectValue{name,field{__typename,... on ProjectV2Field{databaseId,id,name,dataType
                    },... on ProjectV2IterationField{databaseId,id,name,dataType
                    },... on ProjectV2SingleSelectField{databaseId,id,name,dataType,options{id,name
                        }
                    }
                }
            },... on ProjectV2ItemFieldTextValue{text,field{__typename,... on ProjectV2Field{databaseId,id,name,dataType
                    },... on ProjectV2IterationField{databaseId,id,name,dataType
                    },... on ProjectV2SingleSelectField{databaseId,id,name,dataType,options{id,name
                        }
                    }
                }
            },... on ProjectV2ItemFieldMilestoneValue{milestone{title,description,dueOn
                },field{__typename,... on ProjectV2Field{databaseId,id,name,dataType
                    },... on ProjectV2IterationField{databaseId,id,name,dataType
                    },... on ProjectV2SingleSelectField{databaseId,id,name,dataType,options{id,name
                        }
                    }
                }
            },... on ProjectV2ItemFieldPullRequestValue{pullRequests(first: 10){nodes{url
                    }
                },field{__typename,... on ProjectV2Field{databaseId,id,name,dataType
                    },... on ProjectV2IterationField{databaseId,id,name,dataType
                    },... on ProjectV2SingleSelectField{databaseId,id,name,dataType,options{id,name
                        }
                    }
                }
            },... on ProjectV2ItemFieldRepositoryValue{repository{url
                },field{__typename,... on ProjectV2Field{databaseId,id,name,dataType
                    },... on ProjectV2IterationField{databaseId,id,name,dataType
                    },... on ProjectV2SingleSelectField{databaseId,id,name,dataType,options{id,name
                        }
                    }
                }
            },... on ProjectV2ItemFieldUserValue{users(first: 10){nodes{login
                    }
                },field{__typename,... on ProjectV2Field{databaseId,id,name,dataType
                    },... on ProjectV2IterationField{databaseId,id,name,dataType
                    },... on ProjectV2SingleSelectField{databaseId,id,name,dataType,options{id,name
                        }
                    }
                }
            },... on ProjectV2ItemFieldReviewerValue{reviewers(first: 10){nodes{__typename,... on Team{name
                        },... on User{login
                        }
                    }
                },field{__typename,... on ProjectV2Field{databaseId,id,name,dataType
                    },... on ProjectV2IterationField{databaseId,id,name,dataType
                    },... on ProjectV2SingleSelectField{databaseId,id,name,dataType,options{id,name
                        }
                    }
                }
            }
        }
      }
    }
  }
}

[09:11:14.456][ProjectHelper][D][api] [[VARIABLES]]
[09:11:14.456][ProjectHelper][D][api] {
  "itemId": "PVTI_lADNJr_OADU3Ys4OLQ4Y"
}
[09:11:14.456][ProjectHelper][D][api] >>> Invoke-RestMethod - https://api.github.com/graphql
[09:11:15.275][ProjectHelper][D][api] <<< Invoke-RestMethod - https://api.github.com/graphql [ 0.817138 seconds]
[09:11:15.276][ProjectHelper][D][api] [[RESPONSE]]
[09:11:15.278][ProjectHelper][D][api] {
  "data": {
    "node": {
      "id": "PVTI_lADNJr_OADU3Ys4OLQ4Y",
      "type": "ISSUE",
      "fullDatabaseId": "237833752",
      "project": {
        "id": "PVT_kwDNJr_OADU3Yg",
        "url": "https://github.com/orgs/github/projects/9279",
        "title": "rulasg-Work&Dev",
        "number": 9279,
        "readme": "<details><summary>ProjectHelper_Configuration</summary><p>\n{\n  \"Status_Closed\": \"Done\",\n  \"Status_Ready\": \"ActionRequired\",\n  \"FieldName_DueDate\": \"NCC\",\n  \"module\": \"/Users/rulasg/code/SalesHelper\",\n  \"FieldName_Comment\": \"Comment\",\n  \"stubcommand\": \"Invoke-StubCall\",\n  \"Status_Backlog\": \"Todo\"\n}\n</p></details>",
        "shortDescription": "rulasg issue reference for work planning",
        "owner": {
          "login": "github"
        }
      },
      "content": {
        "__typename": "Issue",
        "id": "I_kwDOSTtCEM8AAAABO82qCw",
        "body": "**Subject:(MoonActive Migration Plan)**\n\nTo be clear, im working on migrating orgs into our EMU enterprise moonactive-enterprise from our source enterprise moonactive, and the package storage numbers don't add up for me — I'd appreciate help understanding how storage is actually calculated.\n\n- Source enterprise moonactive (all orgs): ~40/50 GB packages.\n- Destination enterprise moonactive-enterprise: 50/50 GB (maxed), even though I've only migrated 2 orgs so far (moonactive-emu-cm and moonactive-emu-fi-mc), which are copies of source orgs.\n\nI verified the packages are effectively identical between source and destination — same package list, same version counts per package (e.g. calendar-frontend: 2452 vs 2451), and same tarball byte sizes per version (spot-checked many; ~1:1). So the underlying data is the same on both sides.\n\nWhat I don't understand:\n1. How can the destination (2 orgs) exceed the source enterprise's total for all orgs, if the destination data is a subset that's identical byte-for-byte?\n2. How is package storage actually measured toward the 50 GB limit — is there cross-version or cross-org deduplication/compression applied, and does it behave differently between a legacy enterprise and one on the new metered billing platform?\n3. Your enhanced billing usage report for the destination attributes ~53,650 GigabyteHours of Packages storage to moonactive-emu-cm alone — can you confirm how to convert that to the standing GB counted against the 50 GB cap, and why the source enterprise's report looks so different for the same data?\n4. What are my options here, as we are already maxed 50/50 gb?",
        "author": {
          "login": "rulasg"
        },
        "title": "TO DELETE - USE ON DELETE LAB",
        "updatedAt": "2026-09-01T05:59:54Z",
        "createdAt": "2026-08-31T08:52:25Z",
        "number": 32,
        "url": "https://github.com/githubcustomers/other/issues/32",
        "state": "OPEN",
        "repository": {
          "name": "other",
          "owner": {
            "login": "githubcustomers"
          }
        },
        "parent": null,
        "comments": {
          "totalCount": 0,
          "nodes": []
        },
        "subIssues": {
          "totalCount": 0,
          "nodes": []
        }
      },
      "fieldValues": {
        "nodes": [
          {
            "__typename": "ProjectV2ItemFieldRepositoryValue",
            "repository": {
              "url": "https://github.com/githubcustomers/other"
            },
            "field": {
              "__typename": "ProjectV2Field",
              "databaseId": 35609112,
              "id": "PVTF_lADNJr_OADU3Ys4CH1oY",
              "name": "Repository",
              "dataType": "REPOSITORY"
            }
          },
          {
            "__typename": "ProjectV2ItemFieldTextValue",
            "text": "[moonactive] Subject:(MoonActive Migration Plan)",
            "field": {
              "__typename": "ProjectV2Field",
              "databaseId": 35609105,
              "id": "PVTF_lADNJr_OADU3Ys4CH1oR",
              "name": "Title",
              "dataType": "TITLE"
            }
          },
          {
            "__typename": "ProjectV2ItemFieldSingleSelectValue",
            "name": "🟡 CxQuestion",
            "field": {
              "__typename": "ProjectV2SingleSelectField",
              "databaseId": 133617711,
              "id": "PVTSSF_lADNJr_OADU3Ys4H9tgv",
              "name": "MyType",
              "dataType": "SINGLE_SELECT",
              "options": [
                {
                  "id": "52dd0a94",
                  "name": "🟣 Event"
                },
                {
                  "id": "07f69b86",
                  "name": "🔴 Client"
                },
                {
                  "id": "936b8226",
                  "name": "🔴 Sub-Client"
                },
                {
                  "id": "676aeaed",
                  "name": "🔵 Project"
                },
                {
                  "id": "1f915e81",
                  "name": "🔵 Opportunity"
                },
                {
                  "id": "dc2c7605",
                  "name": "🟠 Session"
                },
                {
                  "id": "b1c7a26b",
                  "name": "🟡 Support"
                },
                {
                  "id": "a474d0fe",
                  "name": "🟡 CxQuestion"
                },
                {
                  "id": "b63304b5",
                  "name": "🟠 MsftQuestion"
                },
                {
                  "id": "b52d5003",
                  "name": "🟤 Training"
                },
                {
                  "id": "10ea9bf2",
                  "name": "🟢 Task"
                },
                {
                  "id": "feb2cfe2",
                  "name": "⚫️ Followup"
                },
                {
                  "id": "c4555c8b",
                  "name": "⚪️ Reference"
                },
                {
                  "id": "85528198",
                  "name": "🟣 Preview/Feature"
                }
              ]
            }
          },
          {
            "__typename": "ProjectV2ItemFieldSingleSelectValue",
            "name": "Normal🙂",
            "field": {
              "__typename": "ProjectV2SingleSelectField",
              "databaseId": 37006703,
              "id": "PVTSSF_lADNJr_OADU3Ys4CNK1v",
              "name": "Priority",
              "dataType": "SINGLE_SELECT",
              "options": [
                {
                  "id": "ce18a259",
                  "name": "Critical🔥"
                },
                {
                  "id": "31843608",
                  "name": "High🥵"
                },
                {
                  "id": "a389e3b2",
                  "name": "Normal🙂"
                },
                {
                  "id": "1cb3b85a",
                  "name": "Low🥶"
                }
              ]
            }
          },
          {
            "__typename": "ProjectV2ItemFieldSingleSelectValue",
            "name": "High",
            "field": {
              "__typename": "ProjectV2SingleSelectField",
              "databaseId": 218526622,
              "id": "PVTSSF_lADNJr_OADU3Ys4NBnOe",
              "name": "Severity",
              "dataType": "SINGLE_SELECT",
              "options": [
                {
                  "id": "f4488bd9",
                  "name": "Critical"
                },
                {
                  "id": "bd05cbe2",
                  "name": "High"
                },
                {
                  "id": "c17bf654",
                  "name": "Medium"
                },
                {
                  "id": "50650f37",
                  "name": "Low"
                }
              ]
            }
          },
          {
            "__typename": "ProjectV2ItemFieldSingleSelectValue",
            "name": "🟡",
            "field": {
              "__typename": "ProjectV2SingleSelectField",
              "databaseId": 133891772,
              "id": "PVTSSF_lADNJr_OADU3Ys4H-wa8",
              "name": "Topic",
              "dataType": "SINGLE_SELECT",
              "options": [
                {
                  "id": "484975c2",
                  "name": "🔴"
                },
                {
                  "id": "4109cf64",
                  "name": "🟡"
                },
                {
                  "id": "bd39a099",
                  "name": "🟢"
                },
                {
                  "id": "d5222459",
                  "name": "🔵"
                },
                {
                  "id": "8f98d44d",
                  "name": "🟠"
                },
                {
                  "id": "6c319f30",
                  "name": "⚫️"
                },
                {
                  "id": "6727fc0d",
                  "name": "🟣"
                },
                {
                  "id": "2130ccae",
                  "name": "🟤"
                },
                {
                  "id": "7141fadd",
                  "name": "⚪️"
                }
              ]
            }
          },
          {
            "__typename": "ProjectV2ItemFieldSingleSelectValue",
            "name": "M",
            "field": {
              "__typename": "ProjectV2SingleSelectField",
              "databaseId": 133902644,
              "id": "PVTSSF_lADNJr_OADU3Ys4H-zE0",
              "name": "Size",
              "dataType": "SINGLE_SELECT",
              "options": [
                {
                  "id": "189309e3",
                  "name": "S"
                },
                {
                  "id": "7f5f2932",
                  "name": "M"
                },
                {
                  "id": "f49200ed",
                  "name": "L"
                },
                {
                  "id": "0a185120",
                  "name": "XL"
                },
                {
                  "id": "a461cfa4",
                  "name": "XXL"
                }
              ]
            }
          }
        ]
      }
    }
  }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions