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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Show/Hide Fields Based on Other Field Values

So I've done this on Server - I believe with Behaviors. Wondering if it's possible with something like ScriptRunner in CLOUD. I want to be able to hide or show field on a JIRA Create Screen based on a prior fields value. In the example below, Work Being Done sets the field selection thereafter...

Ex.

1. User selects field Environment = "Confluence"

2. User selects field Work Being Done = "New Space Request"

The Create Screen should then only show fields that pertain to creating a New Space such as Type of Space, User Access and so on.

In this case I want to hide any fields related to a Plugin Request, Enhancemnet or Integration for example.

Thanks

AP

 

2 answers

Hi Andy,

Thank you for your question.

I can confirm that the ScriptRunner for JIRA Cloud plugin is unable to perform any dynamic validation on issue forms to link or hide fields like the server version can with the Behaviors feature.

Also I can confirm that the plugin cannot dynamically populate field values like it can in the server version can with the Behaviors feature.

The reason we are unable to provide this functionality is due to the restricted functionality and API's which Atlassian provide inside JIRA Cloud, due to the fact that Atlassian only provide a Rest API in Jira Cloud and not the same Java API that the server version contains.

You can see more detailed information on the differences between ScriptRunner for JIRA Cloud and ScriptRunner for JIRA Server inside of the documentation page located here.

I hope this information helps.

Regards,

Kristian

Andy, it is not directly on point as it is not done with ScriptRunner; however, ProForma (or ProForma Lite) allows you to show or hide fields using conditional logic, which should meet your needs. It works the same in Cloud or Server, and the ProForma Create Issue feature, with the ability to link directly to a form, has helped many organisations to work around the limitations of the Jira create screen.

The GIF below shows how conditional logic can work on a form (I made it for a slightly different question, but it seems relevant enough here).

Regards,

Simon

Multiple tables in a form.gif

Hi Simon,

How did you make this form?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,018 views 8 28
Join discussion

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