Hide Issue Panel Icons for Forge Applications in Jira Cloud

Jibitesh Chakraborty October 29, 2024

Hi,

After installing an issue-panel module Forge Application in my Jira cloud instance, I see a clickable button on the issue panel which enables the application to run on the current issue. I want to remove this button. Is it possible to implement this using Forge, in Jira Cloud ? If not, is there any other work around for this implementation ? 

 

image.png

1 answer

0 votes
Ramin Shanehsaz
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.
October 29, 2024

Hi Jibitesh,

in your Forge app you can implement Display Conditions to show these buttons only under certain circumstances (e.g. only for specific projects).

See: https://developer.atlassian.com/platform/forge/manifest-reference/display-conditions/

Best,
Ramin

Jibitesh Chakraborty October 29, 2024

I need those buttons to go totally. I don't want them to be displayed at all. I want the plugin to be there, totally working, but the button shouldn't be there. Could you please help me with that ? Thank you. 

Ramin Shanehsaz
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.
October 29, 2024

Did I understand correctly that you created this Forge app?

Then, you just have to remove all "jira:issuePanel" entries from your manifest.yml in the root directory of the app's code.

Jibitesh Chakraborty October 29, 2024

If, I do so, the application will be removed. I do not want that. I want the application to be there, without the button. For example, if you refer to the above attached picture, I want the HelloWorld application to be there, as it is, without the HelloWorld button. 

Ramin Shanehsaz
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.
October 30, 2024

So, what is the purpose of the app?

You will need to have a module in it. Put another module than issuePanel, which is not available in issues.

Or, you could try the display condition with a condition that is always False (e.g. projectKey: NOTEXISTING)

 

Jibitesh Chakraborty October 30, 2024

I guess you are not understanding what I am trying to convey. If you refer to the image attached below, I want the content of the HelloWorld application to stay, but the icon+button on the top stating 'HelloWorld' to be removed. My limited understanding tells me, that maybe the 'icon' field in the manifest.yml of the application, can help us with that. But, I have already tried removing the absolute path mentioned in the icon field by default and replaced it with 'none'. Still the issue does not get fixed. I still see the icon. 

Untitled design (3).png

Ramin Shanehsaz
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.
October 31, 2024

OK, now I understand your problem. I think this is not possible, since the content is shown after clicking the button and they are associated with each other.

In Forge you cannot inject content directly at this position.

Alternatively, you can use the Issue Context module for this, which shows your content in the right sidebar.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events