It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I specify multiple issue types in a LiveFields hook?

Following up on my previous question where I was given the following example:

if(argv["screen"] == "create-subtask" && argv["issueType"] == "Sub-task")

How would I apply it to multiple issue types?  Can I use "contains" or an array variable in place of the ==?


1 answer

1 accepted

0 votes
Answer accepted

Hi Brian,

Yes, you can use contains routine.

A simple example would look like this:


string[] issueTypes = {"Bug", "Task"};
if (contains(issueTypes, argv["issueType"])) {
lfGlobalMessage("yes", "INFO");
} else {
lfGlobalMessage("no", "INFO");


Hope this helps,


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Align

Best Practices in Jira Align

Hello Jira Align customers! In order to better serve you on your journey with Jira Align, the Community team has worked with the Jira Align team to curate the content in this collection to better s...

44 views 0 2
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you