It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Create a custom field table

Is there any way I can create a custom table field in Jira?

Here is my use case, User will enter the value for Field 1 and based on the value entered I want to run an API which will return values for Field 2 and Field 3. User can also add or remove rows from the table.

+-------------+------------------+-----------------+
| Field 1     | Field 2          | Field 3         |
+-------------+------------------+-----------------+
| ABC         | From web service | From web service|
+-------------+------------------+-----------------+
+/-

Please let me know what will be the best way to handle this? Is there any way to create custom web section or table.

Any thoughts?

3 answers

Hi Sameer,

Have a look at the Table Grid Editor marketplace app https://marketplace.atlassian.com/apps/1110050/table-grid-editor?hosting=server&tab=overview

Users can add or remove one or more rows, as well as running an external API lookup.

Would recommend avoiding ScriptRunner for now, as it's a lot of work building your own custom field type.

As a Scriptrunner advocate... um, I totally agree.  Whilst there are good things you can do with SR and fields, building a custom field like this should be done in a dedicated App.  The Table Grid Editor is such an App.

Hi @sbhutada 

If you'd like to try the JEditor solution, please confirm that you have JEditor plugin installed.

If you have the plugin, please follow the steps mentioned in https://community.atlassian.com/t5/Jira-Software-questions/Custom-field-table/qaq-p/745171 to create a template and add prepopulation setting.

The last thing is you need to add your own HTML code to the template (I cannot provide you html code of template, you can just add standard html table code).

Regards

Hi again,

As you need to do some dynamic thing based on your entry, you can try to have jsp in your HTML code. Or try Table Grid Editor (we are using this plugin as well, it is a good plugin)

Cheers

I just want do limit the addon craziness around jira and confluence a little and show a possibility to add tables without any addon needed:

1 Create a custom text field (multiline)

2. add the wiki markup for your table as default entry (Custom fields->confligure)

3. change the renderer to wiki markup (Field configuration -> configure)

4. voilà: You'll be welcomed with a nice table inside your custom field that is freely configurable by the user.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you