How to get revision's commit message, author from build resource?

Fernandel Toto June 26, 2017

Hi.

I am using this endpoint:

/rest/api/latest/result/PROJKEY-PLANKEY.json?expand=results[0:5].result.vcsRevisions

It returns this data, but there is no commit message and author associated with the sha:

"vcsRevisionKey": "77a2abf69b...",
                "vcsRevisions": {
                    "expand": "vcsRevision",
                    "max-result": 1,
                    "size": 1,
                    "start-index": 0,
                    "vcsRevision": [
                        {
                            "repositoryId": 360450,
                            "repositoryName": "somename",
                            "vcsRevisionKey": "77a2abf69b..."
                        }
                    ]
                }

Is it possible to expand build results while getting revision data with commit message and author included in it? Thank you.

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events