Forums

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

Create a custom button or custom link on issue view

MrUpsidown
Contributor
August 17, 2022

Been searching on that topic for HOURS but couldn't find a single suitable solution. What I am after : I need a custom HTML BUTTON or custom HTML LINK that when clicked, will open a new browser tab and follow that link.

What I have tried : Jira built-in URL Field. It works but it's just SUPER UGLY as the entire link just displays and it seems there is no way to display the link as a standard HTML <a> element. My link is a long URL string with lots of parameters so I get something like

https://api.mywebsite.com/intervention/add?id={{issue.key}}&param1=ABCD&param2=EFGH&param3=JKLM&param4=NOPQ&hash=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Which obviously is TERRIBLE in terms of user experience.

Then I found several articles saying I should create a WEB ITEM with Scriptrunner but after reading dozens of documentation pages, I found out that WEB ITEM is NOT available on Jira CLOUD (only on Server).

So is there really no way to create a SIMPLE HTML LINK or a SIMPLE HTML BUTTON to just open an external link???

1 answer

1 vote
Jason Golden
Community Champion
September 29, 2017

You're correct - this is a gap in 2.x permissions. You must have Portfolio for JIRA User permission to edit Teams, Parent Link (from either plan or ticket field).

The workaround to add individuals as editors on a per-plan basis is probably 80% effective and manages your main pain point - allowing team members to add Parent Link from the ticket instead of the plan. But you're correct, they could then create new plans.

I think you'll have to live with this and address via plan audits weekly. You could also look at some custom CSS to hide the "Create Plan" in the Portfolio drop down and make that only visible to admins somehow, then funnel new requests into a queue.

-Jason Golden
Denver AUG Leader

Suggest an answer

Log in or Sign up to answer