Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to add js resource on issue view page?

Влад Демидик July 24, 2018

Hello

I need to handle request after clicking on my button which is located on Issue page. Can someone explain how to do it?

Thanks

1 answer

1 accepted

0 votes
Answer accepted
Alexey Matveev
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.
July 24, 2018

Hello,

When you develop a plugin you should define 

<context>jira.view.issue</context>

for your resource

Влад Демидик July 24, 2018

Thanks, that helped!

Влад Демидик July 24, 2018

Can you promt what context will be on this route? (project page)

 image.png

Alexey Matveev
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.
July 24, 2018

I guess, it will be the Issue Navigator context. You can find an asnwer here:

https://community.atlassian.com/t5/Answers-Developer-Questions/Java-script-in-issue-navigator/qaq-p/561767

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events