Forums

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

Creating a template with columns and rows in different colors in the Description of (Enabler) Story

Ivan Gajević September 18, 2025

Does anyone have a template with columns and rows in different colors in the Description of (Enabler) Story?

1 answer

0 votes
Florian Bonniec
Community Champion
September 18, 2025

HI @Ivan Gajević 

 

Are you using the Cloud or Data Center version ?

Not sure to understand, do you have a mock of what you are expecting ?

 

Regards

Ivan Gajević September 22, 2025

here is an example:
Capture.PNG

Ivan Gajević September 22, 2025

We are using DC version.

Florian Bonniec
Community Champion
September 22, 2025

For formatting you can refer to https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all

 

Does it answer your question ?

 

Regards

Ivan Gajević September 23, 2025

Thank you for your suggestion Florian, it's useful in general. But it's not solution for my issue. I want to create a URL under the Hyperlink Button, this is not solution, since I have already tried it.

Florian Bonniec
Community Champion
September 23, 2025

What do you mean by 

 

I want to create a URL under the Hyperlink Button,

 

Regards

Ivan Gajević September 24, 2025

It means that once I click on the hyperlink button the template for creating (Enabler) Story will be pop-up in browser in editing mode.

Florian Bonniec
Community Champion
September 25, 2025

I've achieve similar thing if I understand well but it require Scriptrunner for JIRA.

In my case I use a Behaviours to read information from the URL in order to pre-fill the form for the user. So when the user click on the link, he is redirected to a new tab, with the project, issue type and description pre-filled.

URL is like 

<BASE_URL>/secure/CreateIssueDetails!init.jspa?pid=<PROJECTID>&issuetype=<ISSUETYPEID>&description=<encodedTemplateDescription>
Code for the behaviour set as Initialiser
import java.net.URLDecoder

import com.atlassian.jira.component.ComponentAccessor

def url = request.getHeader("referer")

def url_params = url.substring(url.indexOf("?") + 1)

def string_params = url_params.tokenize('&')*.tokenize('=').collectEntries()

string_params.each{ k,v ->

    if(getFieldById(k.toString()) != ''){

        getFieldById(k.toString())?.setFormValue(getValueForField(k.toString(),v.toString()))

    }

}

def getValueForField(String fieldName, String fieldValue){

    String decodedURLValue = URLDecoder.decode(fieldValue)

   return decodedURLValue

}
Regards

Suggest an answer

Log in or Sign up to answer