ObjectMetadataAction objectUrl never gets populated for PRs or Branches

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      I used the 2.0.0-beta-1 release and ran a index scan over my repository. I had a mixture of new and existing branches.

      While they all got populated with ObjectMetadataAction the objectUrl never got populated for any of my branches or pull requests.

      Interesting the javadoc for ObjectMetadataAction states that it will only produce a URL for a SCMHead if it is a Pull Request. We should be providing a URL for both PRs and Branches.

      For Branch URLs we want
      https://github.com/$ORG_NAME/$REPO_NAME/tree/$BRANCH_NAME

      For PR URLs we want
      https://github.com/$ORG_NAME/$REPO_NAME/pull/$PR

            Assignee:
            Stephen Connolly
            Reporter:
            James Dumay
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: