XPorter : Can I use xPorter with conditionals to show only fields which are filled?

Hi;

First of all I would like to ask is there any way to use newline in between javascript code? And whatabout global variables? Can't I use two different javascript segment which uses the same variable so that I can keep count or some other information that is not possible in just one code segment?

Ex 1. : %{var counter = 0;} %{counter++; "Hello world now the counter is " + counter}

Ex 2. : %{var condition = '$fieldName'.length > 0; if(condition){<newline>

//Put some line, image, table or anything related to "fieldName"

};} // I hope you understand the use, in for loops it solves so many problem.

Second, does it have the ability to create special fields like comments, subtasks and links that is convenient for using for loops? I can create some fields, but the ones enable in Jira does not meet my needs. I also need to be able to create tables, not just lists or plain text areas as a field. To sum up, I need dynamic list areas that I can add my information like as I do in comments section.

2 answers

This widget could not be displayed.

Hi there,

Xporter for JIRA has a new great feature available on 3.4.0. Take a look here.

This feature allows you to have global variables. It's awesome.

Best,

RMRodrigues.

This widget could not be displayed.

Did you get the solution, even I have a similar requirement, please share if you have some solution of it. 

Hi Mohamed; For both of those, the answer is no. Xporter supports neither global variables nor dynamic fields. In their documents, "for" usage is limited to several fields such as comments, links and subtasks. It is very strict form of documenting, and if it does not meet your requirement, I encourage you to carry on.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

97 views 1 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you