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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,462,160
Community Members
 
Community Events
176
Community Groups

Change something in the ticket triggered by changing other field content

Hi,

We are using Jira on cloud.

I'm trying to find a way to ask the user to do something online, when he changes some field on the form.

Example:

User is updating field x to value "Yes", as a result, I would like to ask him to fill some data in field y - online.

Is there a way of doing it online?

 

3 answers

0 votes

Hi @Sarit Ashtar ,

That's doable through an app, as previously mentioned.

If field Y were a single select field, then you can substitute fields X and Y with a custom field of type Cascading Select.

Alternatively, you may just add the second field with the instructional text "(if applicable)".

Regards

Hi @Sarit Ashtar 

One hack you could try if you're really desperate is to make this field editable only via a workflow transition, and then add a validator to the transition to make the other field required. Let me know if you're interested and I can outline the steps I would try.

Kel

Hi Kelly,

Yea.. thought about this option, but it will not work for me, as the one who might change the field from No to Yes and insert the missing data, is the requestor, while the one who changes the status is the provider, different people, different groups.

What I'm suggesting is that you could add a transition from the current status to the current status, and make that the only way to edit the field you're interested in.

0 votes
Hana Kučerová Community Leader Dec 14, 2022

@Sarit Ashtar Hi and welcome to the Atlassian Community!

If the user updates field x to value "Yes", you can create a comment to the issue and ask the user this way (it should also be possible to mention him) - it should be relatively easy to prepare such automation rule. This is the only way I can imagine doing this, but maybe others will have better ideas.

Hi,

Thanks.

Actually, what I want to enforce the user to insert the data (something similar to mandatory field).

Nevertheless, how do I do what you have suggested? 

Hana Kučerová Community Leader Dec 15, 2022

@Sarit Ashtar You can create automation rule, something like:

WHEN: Value changes for x

IF: x equals Yes

THEN: Add comment to issue

Hi @Hana Kučerová

Creating automation means, we are hard-coding the user response and adding it to the comments.  If the requirement is that the standard text should be added to the comments every time the user selects 'Yes', then this is fine.

Based on what I understand, there are two fields 'x' and 'y'.  The field 'y' should only be displayed when the user selects 'Yes' option for field 'x'.  Then prompt the user to enter something accordingly and it should be mandatory.

There are two ways to do this and both require plugins like ScriptRunner (using Behaviors) and Dynamic Forms.

Hope this helps.

Thanks,
Vamsi

Hana Kučerová Community Leader Dec 22, 2022

Hi @Vamsi Kandala ,

thank you for your comment, but user is on cloud and these functionalities such as behaviours or dynamic forms for custom fields are not available (maybe will be in the future, but not now). That is why I was suggesting this kind of solution, even though is not optimal.

Jarosław Solecki Marketplace Partner Dec 22, 2022

Hi @Hana Kučerová , 

we recently added support for single select and paragraph custom fields in Dynamic Forms Cloud.
If I understand you correctly the single select should be appropriate for your case. 

In January we are introducing more fields (multi-select and user-pickers) and also some additional features. 

Best regards, 
Jarek

Like Hana Kučerová likes this
Hana Kučerová Community Leader Dec 26, 2022

Hi @Jarosław Solecki ,

thank you. If you are able to show and make text field mandatory based on the single select custom field value in cloud, then it is perfect solution.

Jarosław Solecki Marketplace Partner Dec 27, 2022

@Hana Kučerová  "Set as required" feature is the one we are also introducing in January. 
To be more precise here is the scope of the January release: 

  • Set field as Required
  • Support for Multi Select, User Picker and Multi-User Picker custom fields 
  • Redesign of rules configuration to improve User Experience

Here is also our public roadmap for Cloud: https://trello.com/b/D2VPCRhk/cloud-dynamic-forms-roadmap

Let me know if there is something else you are willing to see there! 

Like Hana Kučerová likes this
Hana Kučerová Community Leader Dec 28, 2022

@Jarosław Solecki Fantastic! I'm looking forward to it. It's great this functionality is coming to cloud.

Like Jarosław Solecki likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events