Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,368,482
Community Members
 
Community Events
168
Community Groups

ScriptRunner - format a custom field value(multiple check boxes)

Hello,

Is it possible to format the value of a custom field to look more organized.

Example:

I created a custom field named Tests: and its value is a long list of check boxes.

Tests: checkbox 1 (If checked then Test 1 was successful) , checkbox 2 (if checked Test 2 successful) ....... checkbox 63(if checked Test 63 was unsuccessful).

So, after adding the custom field to an issue and checking some boxes, the values of those checked boxes would be displayed in the issue.

My problem is that the way it is displayed it is no very readable as it is displayed in the following format [Test 1 Successful, Test 2 Unsuccessful, Test 3 N/A, Test 4 Successful, ....., and so on until checkbox 63] 

Is there a way in which I can run a script to display the value of the Tests custom field in a more organized way. In general can I format a group of check boxes that are the value of a custom field? 

Tests:       Test 1 sub test 0, 

                 Test 1 sub test 1,

                 Test 1 sub test 2, 

 

                 Test 2 sub test 0,

                 Test 2 sub test 1,

                 Test 2 sub test 2, 

 

                  , ... , and so on.

 

 

1 answer

0 votes

I'm not sure I get your question.

Are you happy with the look of the fields in the edit screen?

Is it only the display screen layout of the resulting data that you want to adjust?

If so, I think some post processing using cust java script may be your only route. Or else re-think you approach.  A single field with 63 checkboxes is a little excessive and not very scalable.

Sounds like you need some kind of test management plugin for your jira instance.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events