pull-request-notifier-for-bitbucket icon indicating copy to clipboard operation
pull-request-notifier-for-bitbucket copied to clipboard

[PULL_REQUEST_ACTION] Create task?

Open MrLewk opened this issue 8 years ago • 6 comments

Feature request, as I can't seem to find this option anywhere.

Can there be an action in the [PULL_REQUEST_ACTION] for creating tasks? So that when someone adds a task to a PR, all the followers can be notified then of the update.

MrLewk avatar Aug 29 '17 12:08 MrLewk

Should be possible. If listening for this event: https://developer.atlassian.com/static/javadoc/bitbucket-server/latest/api/reference/com/atlassian/bitbucket/event/task/TaskCreatedEvent.html

tomasbjerre avatar Aug 29 '17 19:08 tomasbjerre

It's not listed in the "Triggers" on the Settings page?

Loafyy avatar Aug 30 '17 08:08 Loafyy

No it is not. It needs to be added in a new release.

tomasbjerre avatar Aug 30 '17 09:08 tomasbjerre

@tomasbjerre that would be a very useful feature! :)

MrLewk avatar Aug 30 '17 09:08 MrLewk

I had a look and since TaskEvent is an ApplicationEvent it makes implementation a bit harder. Not really sure if it is possible to find out the PR that belongs to that created task.

tomasbjerre avatar Sep 01 '17 10:09 tomasbjerre

@tomasbjerre that's a shame! Would have been very handy. Oh well.

MrLewk avatar Sep 01 '17 10:09 MrLewk