I want to send notification from status of each stages in jenkins pipeline as a comment to Thread message. My questions are following.
1. How to create thread message while posting status value to flowdock?
2. How to capture that thread_id and post the status of each stages to that particular thread?
There is a plugin currently that may do what you need, Help | Hudson / Jenkins
However, if it is possible to customize what is sent, then you can follow the information in the API Documentation to get things posted to a Flow. Rest | Flowdock API
The basic steps are:
Hope that helps.
Check out these articles demonstrating some of this:
On how to post status:
On how to use <thread_id>:
Flowdock: REST API - How to reply to a thread - CA Knowledge