Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Campo Request-channel-type en Filtros

Ismael Nunez Gatica November 17, 2021

Estimada comunidad.

Necesito agregar el campo "request-channel-type" a mis filtros para poder exportar a excel.

Es posible?

3 answers

Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 21, 2022

Hello everyone,

Hope everyone is safe!

It has been a while since this question was posted and the workaround I shared required one If/Else for each property, but that's not necessary anymore.

There is a smart value that gets the value from the property and adds it to the read-only field.

{{properties."request.channel.type".value}}

I posted the step by step on the documentation below:


Hope it helps!

Warm regards,
Angélica

0 votes
Emily Guadalupe March 29, 2022

@Angélica Luz - I've been looking everywhere for more information on 'request.channel.type' and since it's not currently available via API, your answer was most helpful! Thank you!

0 votes
Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 18, 2021

Hello @Ismael Nunez Gatica,

Thank you for reaching out to the Atlassian Community!

The request-channel-type is an issue property and not a custom field, so it will not be possible to add it as a column in order to export it to excel.

The workaround for that would be to use automation that will validate if the ticket was created, for example, via Portal, and then add this information on a custom field.

In the example below, I created a new custom field called Channel (type Text Field (read only)). I'm using a company-managed project for the below steps, but in case you are using a team-managed, you can use the Short text field.

Screen Shot 2021-11-18 at 16.53.27.png

After that, on Project settings > Automation > Automation I created a new rule to validate if the request is created via Jira, then edit the custom field Channel with the value Jira, else, if created via Portal, then edit the field with the value Portal.

When: Issue created

New condition > If / else block > Add conditions > JQL condition

It will be necessary to create five of the if/else for the following JQLs:

request-channel-type = jira

request-channel-type = portal

request-channel-type = anonymousportal

request-channel-type = email

request-channel-type = api

Then > New action > Edit issue > Select the custom field > Type the desired value > Save.

Screen Shot 2021-11-18 at 16.56.46.png

After that, also add this field as a column on the issue search for you to be able to export in Excel:

Screen Shot 2021-11-18 at 16.57.42.png

Hope this helps!

Kind regards,
Angélica

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events