JIRA Agile Plugin Development - Adding a Detail View Tab

Lang Tran October 29, 2013

I followed the steps outlined in https://developer.atlassian.com/display/JIRADEV/Adding+a+Detail+View+Tab but the quotes plugin is not showing up. Any tips on how to debug?

5 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

3 votes
Answer accepted
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 6, 2013

Got some info regarding this. Try this:

It appears the documentation is incorrect, third party tabs will only appear if an icon is specified and the icon resource name begins with "icon" and is of type "download". For example in the atlassian-plugin.xml:

<resource name="iconLightbulb" type="download" location="images/lightbulb.png"/>

Rather than

<resource name="lightbulb" type="download" location="images/lightbulb.png"/>

as the docs currently have.

Lang Tran November 6, 2013

Works now and I see the online documentation has been updated. You should also update the sample source code in bitbucket.

Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 7, 2013

Yes, getting that updated.

PMO April 1, 2015

You solved my problem, Thank you!

Paul Clark _Redmoon Software_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
October 17, 2015

@Renjith [Atlassian] I've just been trying to do this and was missing the icon. It's been nearly two years since this was written and the Bitbucket example is still not updated. Can we please have this updated, it would save a lot headaches. Also the documentation includes iconLightbulb but doesn't specifically say that it has to say the name has to start with icon. Can we also please have this updated. Thanks, Paul

Sebastian Brudziński
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
April 3, 2019

OMG, I have spent so many hours trying to figure out why the tab does not show up. Thanks for this answer!

0 votes
Nikos Kalogerakis June 20, 2017

i have the same problem

you have any other solution ecxept "icon" ?

0 votes
Natalie Wenz March 23, 2014

I'm stuck with the development of detailed view tab plugin module. I want to add a textfield area that is editable when I click on it (similar to the description field). My js is loading but nothing happens. So the textfield does not open when I click on it. Someone has any ideas?

My js code looks like this:

AJS.$(document).ready(function() {

    AJS.$("#ziele").click(function() {

        var text = AJS.$(this).text();

        AJS.$('#taSprintGoal').text(text);

        AJS.$('#taSprintGoal').show();

        AJS.$(this).hide();

        AJS.$('#taSprintGoal').focus();

    });

    AJS.$('#taSprintGoal').blur(function() {

        var text = AJS.$("#taSprintGoal").val();

        AJS.$('#ziele').text(text);

        AJS.$('#ziele').show();

        AJS.$(this).hide();

        // Hier AJAX-Post hinein

        AJS.$.ajax({

            method: "POST",

            url: "/secure/SprintGoalAction.jspa", 

            data: {

                sgSprintId: "$sgSprintId",

                sgRapidViewId: "$sqRapidViewId",

                sprintGoalText: AJS.$('#taSprintGoal').val()

            },

            success: function(data) {

                console.log("Daten übertragen ...");

            },

            failure: function(data) {

                console.log("Fehler");   

            }

        });

    });

});

0 votes
ITST November 11, 2013

Hi Renjith,

thanks a lot for this useful information! Works now as expected.

Kind regards,

Michael

0 votes
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 5, 2013
  1. Is the add-on getting enabled?
  2. What do the logs say?
Lang Tran November 6, 2013

Yes, I confirmed MyViewTab is installed enabled on the Manage add-ons screen. I've attached (jira-LATEST.log) but not sure if the errors I'm seeing are ok or not. I can also upload the jira/home logs if you need them. I've tried writing the code myself and using the code downloaded from https://bitbucket.org/atlassian_tutorial/adding-an-issue-view-tab-in-jira-agile. Neither is working for me.

Joel Bird November 6, 2013

Yes, I confirmed MyViewTab is installed enabled on the Manage add-ons screen. I've attached (jira-LATEST.log) but not sure if the errors I'm seeing are ok or not. I can also upload the jira/home logs if you need them. I've tried writing the code myself and using the code downloaded from https://bitbucket.org/atlassian_tutorial/adding-an-issue-view-tab-in-jira-agile. Neither is working for me.

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events