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,297,437
Community Members
 
Community Events
165
Community Groups

Is it possible to set proforma form default value via script in service management portal

Hi 

I use  service management portal and proforma form to implement payment request.

While user click the request via service management portal, the form will display and let user to fill in.

 

My question is

I want some value for example Employee name, Employee number, department, Date...... , auto fill in when the form display. 

 

Is it possible to use scriptrunner behavior to let the proforma form field set default value, or there is other method to fit this requirement.

 

Thanks

1 answer

I have a similar question and glad someone posted about this. I'm looking to see if we're able to use some sort of Jira variable to pre-fill info from the current logged in user. 

Cathi Davey Atlassian Team Jan 14, 2022

If you're using Insight you can leverage something like: 

Filter issue scope (IQL): Owner.User == currentUser()

In my case, this pulls all assets where the logged in user is associated as the owner attribute. 

I use this in a request that allows the user to report a broken asset and the drop down allows them to select which asset instead of making them fill in a bunch of info.

Like djenkins likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Coming Soon: Insight Changing to Assets

The 2020 acquisition of Mindville added powerful asset and configuration management capabilities to Jira Service Management in the form of Insight. Following the completion of that integration, custo...

104 views 0 4
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