Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JIRA Agile Plugin Development - Adding a Detail View Tab

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

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.

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

Yes, getting that updated.

You solved my problem, Thank you!

@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

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

  1. Is the add-on getting enabled?
  2. What do the logs say?

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.

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.

Hi Renjith,

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

Kind regards,

Michael

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");   

            }

        });

    });

});

i have the same problem

you have any other solution ecxept "icon" ?

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you