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

Auto-populate fields on Jira Cloud.

Hi Team

 

I wrote a behaviour script for the auto-populate of custom fields in Jira Cloud for service desk project, but the changes are not reflected on the create screen.

Is there any other way to do auto populate.

2 answers

1 accepted

0 votes
Answer accepted
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 06, 2023

Hi @Nitin Pai ,

please share your code so that we can support you on that. Another approach is to use a post function within your workflow that manipulate that field as transition post processing.

Fabio

const autoStatus = getFieldById("customfield_10115");

const autoYes = getFieldById("customfield_10510");

logger.info("Value : " + autoYes.getValue().name);

if(autoYes.getValue().name !== "Sevice Management") {

autoStatus.setVisible(false);

logger.info("false");

}

else {

autoStatus.setVisible(true);

logger.info("true");

}

Auto populate can be done in customer portal(users raise request) through this behaviour?

Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 06, 2023

Hi @Nitin Pai ,

for my knowledge, in order to make a field visible or not you need to use method setHidden() and not setVisible.

Moreover, in server/data center you can enable behaviour in the customer portal but I don't know if that feature is already existing for cloud version.

Fabio

It would be great if you could share your code with us in order for us to be able to assist you. As another option, you can use an internal post-processing function within your workflow to manipulate that field as a part of your transition post-processing process.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events