How can I embed a Jira issue collector in Bitbucket?

Kevin Paulus
Contributor
September 23, 2024

We used to be able to embed a Jira issue collector script in the Announcement Banner for Bitbucket (Add-On by Sweet Bananas) however, that add-on has become monetized and we are not playing along.  The Built-in announcement banner displays the script.  What other options are available?

1 answer

1 vote
Ulrich Kuhnhardt _IzymesCo_
Atlassian Partner
September 24, 2024

Create a simple Bitbucket server plugin and add the issue collector script as a web-panel in atlassian-plugin.xml like so

 

<atlassian-plugin ... plugins-version="2">
<web-panel location="bitbucket.notification.banner.header" key="kevins.test">
<context>atl.general</context>
<resource name="view" type="static"><![CDATA[<script ......></script>]]></resource>
</web-panel>
</atlassian-plugin>

The issue collector tab is shown on any bitbucket page.

Tip: place the collector tab as vertical, horizontal version may be hidden by the BB page header 

Let me know if you run into any trouble

 

Kevin Paulus
Contributor
January 14, 2025

Ulrich,
          I am a newbie on the server CLI, so you lost me at "Create a simple Bitbucket server plugin and add the issue collector script as a web-panel in atlassian-plugin.xml like so..."

My understanding is then that the issue collector script gets put somewhere on the server after I  run  atlas-create-bitbucket-plugin  on the server.  I'll need to read much deeper to determine exactly which directory I would run that and the Issue Collector script generated by Jira.


(Sorry for the very late response:  We did a lift & shift of our servers from our on-prem data center to AWS Cloud Services in September and we've been slightly busy) (:)

Ulrich Kuhnhardt _IzymesCo_
Atlassian Partner
January 19, 2025

Your script JSM content goes directly into the 

<script ......></script>

placeholder in atlassian-plugin.xml

No extra files needed.

Kevin Paulus
Contributor
January 21, 2025

Thanks!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.0.0
TAGS
AUG Leaders

Atlassian Community Events