How to create web panel in Jira?

Hi Guys.

I'm trying but I can't find good example, how to add panel in inssue view.

(The same like attachments)

I wish to make plugin wich show some external data.

I am only found how to add issue-tabpanel to existing panel.

Many thanks for any help.



4 answers

3 votes
Mizan Community Champion Jan 28, 2013

Add a web panel module and set location as location="atl.jira.view.issue.left.context" this will make the panel appear similar to the attachments panel .

Ah, thanks, I hadn't realised you could inject panels like that.

Mizan Community Champion Jan 28, 2013

for an example you can refer this which displays panel on the right all you need to do is display it on left

If your editor supports rich text - then you can just give some default value in custom fileds (HTML) - this will show automaticaly in view screen - no need for new development - im not clear with your requirment so suggesting a simple approach

0 votes

Jira doesn't really support you inserting panels into the main view. It does support tab-panels of course, you've already found those. I suspect you'll need to hack something in the core of Jira to do this, or work out a way to inject your display.

Two approaches I'd consider

1. Write your stuff as though it's an issue-tabpanel. Then make tweaks to the core to draw the result up into the main view

2. Create a plugin for a custom field instead - you can make these read-only and displayable even on edit. This is a little more limited, as it will always end up in the area set aside for custom-fields, but again, if you wanted to tweak the core a bit, you could relocate the field

I would like to know what are the possible locations for web panels. Is there some list of all locations?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

466 views 7 5
Join discussion

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you