Bitbucket - message format
Pull request message format
{
"text":"",
"attachments": [
{
"authorName": "${userName}",
"authorIcon": "${avatar}",
"color": "${activityColor}",
"text": "${activityText}",
"fields": [
{
"title": "Description",
"value": "${activityDes}",
"short": true
},
{
"title": "Reviewers",
"value": "${activityReviewers}",
"short": true
},
{
"title": "Source",
"value": "${source}",
"short": true
},
{
"title": "Destination",
"value": "${destination}",
"short": true
}
]
}
]
}Name | Description | Sample |
|---|---|---|
${projectKey} | this is key of current project | SC |
${repoName} | this is name of current repository | Slack connector for Bitbucket |
${userName} | this is author(creator) of this pull request | Robert |
| this is avatar url of author |
|
|
|
|
|
|
|
|
|
|
| this is a list reviewers in given PR | Robert , Michale |
| this is branch or tag which need to merge to destination | e.g : issue/DEV-01-login |
| this is targe branch or targ | e.g : master , release/1.0 |
Push message format
{
"text":"${pushInfo}",
"attachments": [
{
"color": "${commitColor}",
"text": "${commitLog}"
}
]
}Name | Description | Sample |
|---|---|---|
| the summary of pushing code |
|
|
|
|
| the detail information of commit |
|