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
Jose A. Herrero
October 13, 2017

Hi Abraham,

I would use the transitions of the workflow for this.

When you configure a transition you can configure Validators. One of the validators available is "Field Required Validator". If the field that you select here is not set the validator will prevent the transition.

I think there is no way to define screens by status but you can enforce this by defining screens per transitions so when transitioning from one status to another you only show the information you want.

 

I hope this is helpful.

 

Jose

Abraham Georges
October 13, 2017

Thanks will look into it, get back if I have questions.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events