Team field validator (script runner)

Sebastian Krzewiński
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 30, 2024

Hi all!

 

I'm having an issue with creating validator for Jira's Team field (team picker). I used

issue.customfield_30101 != null
but if field is empty or not validator don't let me further.
Can you help me with this?
Regards,
Seba

2 answers

2 accepted

0 votes
Answer accepted
Maciej Dudziak _Forgappify_
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.
October 30, 2024

Hi @Sebastian Krzewiński 

Team field is visible in Jira expressions except for Create issue transition. I remember testing it. There is also an open bug for the Create transition: https://ecosystem.atlassian.net/browse/ACJIRA-2504

Cheers

Sebastian Krzewiński
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 4, 2024

Hi @Maciej Dudziak _Forgappify_ 

 

Thanks for info. I will be watching this ticket.

0 votes
Answer accepted
Kristian Walker _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 30, 2024

Hi Sebastian,

Looking at the docs here it appears the Teams field is a special field that Atlassian provides which should have the ID customfield_1001 in all instances as it is a locked System field.

The page mentions the field can be accessed via the Rest API but does not mention it can be used in Jira Expressions or in the Jira Expressions Framework documentation.

Due to this, I believe this field is not supported and cannot be validated with Jira Expressions.

I hope this helps.

Regards,

Kristian

Sebastian Krzewiński
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 30, 2024

Hi @Kristian Walker _Adaptavist_ !

 

Thanks for your reply! I'm also afraid that for now this field is unsupported :/

 

Regards,

Seba

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events