Forums

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

Is it possible to create a basic table through script runner script fields.

Bhargavi January 16, 2021

I have a requirement to create a basic table with field values mapped in.I was trying to achieve it through scripted fields of script runner plugin.But not able to achieve.

Any script or solution on this is appreciated

Thanks in advance.

1 answer

0 votes
Hana Kučerová
Community Champion
January 16, 2021

Hi @Bhargavi ,

what sort of data do you want to show in the table? Are all these fields from the issue you are viewing? Why it needs to be in the table? Thank you.

Bhargavi January 16, 2021

Hi Hana,

Thanks for the response!!

I have a requirement where a custom field is required in a tabular format.

Inside the table columns field A,field B will be passed as values.(these fields have text data)

All these fields are in the same issue.I don't require any additional functionality to be done on this besides showing a field in a table format.

I want to understand if there is any possibility to create a table by using script runner.

Hana Kučerová
Community Champion
January 16, 2021

Hi @Bhargavi ,

thank you.

I don't think it is possible to do it, only limited types of fields are available in cloud version of SR so far and there are not suitable for your use case. There's HTML type in server version - but still even if this type would be available in cloud, I won't recommend you to use it. I can see two main reasons:

  1. your field will be calculated - but there is no reason to calculate something, you just need different view on issue's data
  2. you will need to provide all the table HTML formatting, which could change every time Jira updates the view of issues

Have you considered to separate these fields into the another tab?

tab.png

Your tab will be visible in the issue view and when you click on it, you will get the detail like this:

tab_detail.png

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