I've found the answer and would like to share it with the community.
First, the page should depend on
If you want to show this dialog from standard search page or view issue page, then this dependency has already been included.
In my case I have a custom page and my own web-resource with my button, so I've just added this dependency to the web-resource.
Second, need to know the ID of the issue.
And finally, the code:
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG