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 accepted

1 vote
Answer accepted
Ethan Foulkes
Contributor
September 28, 2017

Hi Thomas,

You can create a transition from each status that has issues needing a resolution back to that same status. Then add a post-function which sets the resolution. At that point you can then do a bulk transition from each status which will add resolution without moving issues.

Don't forget to remove your transitions after!

I'm surprised that you want to set the resolution midway through workflow when transferring to another department. I have a feeling you may not like that setup down the road.

Thomas Gavin
September 28, 2017

Thx Ethan for your reply. I'll give it a go :-)

As for the setup you may be right. I am a fairly new JIRA admin and so is my company as JIRA users and I fear any pitfall along the way.

 

Thx

Thomas

Suggest an answer

Log in or Sign up to answer