Xporter - using of two filters in iterations

Alexandra Skripacheva March 9, 2017

 Hello everyone!

In me Excel Xporter's template I'm using this filter:

#{for links|filter=%{‘${Links[n].IssueTypeName}’.equals(‘Task’)}} 

because I need to export issues (stories) and all linked tasks. But occured problem: if Issue don't have any links template stop working.

Question: is it possible to add in filter an extra condition for this case?

Thanks for you help! 

1 answer

1 accepted

2 votes
Answer accepted
Rui Rodrigues
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 9, 2017

Hi Alenxandra,

I've attached a sample with what you want.

See that, and tell me if you have doubts.

Cheers,

Rui Rodrigues

Alexandra Skripacheva March 13, 2017

Hi, Rui!

Thank you so! Template is working well in Word, but can you help to do the same thing in Excel - I was trying to do the same mapping, and I'm not sure if it's correct. And each parameter must be in its own cell.

Thank you so much!

 

Rui Rodrigues
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 13, 2017

Which Xporter version are you using?

Cheers.

Alexandra Skripacheva March 13, 2017

version - 4.3.5

Rui Rodrigues
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 14, 2017

Hi,

I've attached the same template built in Excel.

Cheers,

Rui Rodrigues

Alexandra Skripacheva March 20, 2017

Dear Rui,

thank you so much it works perfect!

Have a nice day,

Sasha

aya nayman December 6, 2021

Hello can you please share the codd snippet for this use case ?

Rui Rodrigues
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 7, 2021

Hi @aya nayman , What's your use case? Have you tried the templates I shared? Are you using server/DC or cloud?

aya nayman December 7, 2021

Hi,

So my use case in a word template in which U have to export the "fix version" field, from linked issues of type "depends on".

If there aren't any, export "none"

Also if there are nore than 15 ,break (this is the hardest part as I could not find an option to iterate with a while loop rather "for").

Thanks in advance,

Aya

Rogério Paiva - Xray Xporter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 16, 2021

Hi @aya nayman 

Can you please share your template?

And let us know which hosting are you using Cloud or DC/Server?

Thank you.

Kind regards,
Rogerio Paiva [Xporter Support Team]

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events