Jira Xporter count Number of Subtasks and print

Kerstin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 10, 2021

Hi, 

I want to know if there a special subtasks available for an issue. 

Therefore, I use: 

&{for issues}

#{for subtasks}

#{if (%{'${Subtasks[n].category}'.equals('important')})}

${Subtasks[n].Summary}

#{end}

#{end}

&{end}

 

Now, I want to print if there are no special subtasks available.

For example: 

%{('$Subtasks[n].category}'.equals('important').length > 0) ?  $(Subtasks[n].Summary}: 'No important subtasks are available' }

 

Can you help me?

1 answer

0 votes
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.
November 18, 2021

Hi @Kerstin 

In Xporter, the Subtask code only works with Jira's sub-task feature. So if you have other sub-task types provided by other marketplace Apps, it might not work unless there is a specific integration with Xporter (https://confluence.getxray.app/display/public/XPORTER/Integrations), which currently none of the current integrations provide.

Any additional questions, please get in touch with Xporter Support (http://Xportersupport.getXporter.app); we would gladly assist you.

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