Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Conditions for fields in Issues creations on jira cloud

Hello community,

we are using Jira cloud in my company. In the create issue tab, i would like to add a condition over two fields making them dependent on each other with defined rules : for instance i have field1 and field2, i want something like this : field1 = SomeCountry -> field2 = [options Based on that country]

In a previous question, Cascading fields were proposed, but in our case we're using Timesheets reports and one of our admins can't have those type of fields in those reports.

Is there a way i can code something (a plugin, add-on, extension or such) to make these conditions over my fields? We'd like to avoid any paid solution for the moment (but if there's a tool for it please propose it)


2 answers

1 accepted

0 votes
Answer accepted
Darryl Lee Community Leader Apr 28, 2021

Hi, unfortunately there is not a way to implement dynamic options like this in Jira.

The best I can think of is have a plugin that supports validators written using Jira Expressions.

These include:

This would allow you to construct a validator that if: field1 = SomeCountry, then only certain options in field2 are valid, otherwise it will throw an error. You would want to describe the restrictions in the Field Description, as well as the error message.

It's incredibly bad UI (violates the principle of least surprise), but it's what we've got. :-/

Let us know if you want to give one of those a try (Cloud Workflows is the most reasonable if this is the only feature you're looking for) and we can help construct an expression. It's tricky stuff, but also kind of fun.

Thanks @Darryl Lee , i'm trying to avoid paid solutions for now. I'm new to Jira, so here's my question: Is there a way i can develop my own Jira plugin or a chrome extension with these validators using javascript that'll allow put conditions over those fields ?

Darryl Lee Community Leader Apr 29, 2021

Hi @DADSI Haitam, in theory yes, there is a way to do this yourself. You would create a Connect app which can contain a workflow validator. Here's some relevant links:

And I think that somebody else may be trying to do something similar, in this question:

Like DADSI Haitam likes this

Okay, i'll go ahead and try to do something using the Connect app, thanks

Hello @Darryl Lee , am i gonna be able to do this with forge instead of Connect ?


0 votes

WHOOPS, nevermind Dynamic Custom Fields for Jira. That's for creating "computed custom fields".

Different kind of dynamic.

Suggest an answer

Log in or Sign up to answer

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