Hello!
The story so far: I've added Tab web-item into pull request view section. I want it behave like original (like tabs Overview, Diff, Commits). I mean when I click it data adds without page reload. So, when I click my tab I send get request to my servlet via the link which is in my web-item module
<web-item key="bitbucket.pull-request.nav.report" name="Pull Request Comments Statistics Tab" section="bitbucket.pull-request.nav" weight="40">
<label key="plugin.comments.stats.header" />
<link linkId="comments-stats-report">/plugins/servlet/commentsstats/projects/${repository.project.key}/repos/${repository.slug}/pull-requests/${pullRequest.id}</link>
</web-item>
Servlet responses correctly and I see my tab active and data added. Though, I don't use any JS. But the page is reloaded. When I click Overview tab, for example, it's simply being activated and data appeares without page reloaded.
What can you suggest?
Hi Raven! Welcome to the Atlassian Community!
For this kind of questions, you'll be more likely to get the assistance you need in our Developer Community. For the future, you might also be interested to check our Developer resources.
Hope that helps!
Ana
Thanx. I've already looked through the documentaion. Seems like I found an answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.