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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


Behaviours on jira project field based on a field value


I'm using scriptrunner behaviour to change jira field behaviour in "create issue".

The background is project field allow search project key or beginning of the project name(Chinese). But project field does not allow fuzzy search(middle of the project name). We created a Text fied follow to allow fuzzy search project list. But can not sync the text field back to project field. 


I saw posts that people can update system field like affected versions, components, versions. But I can not update project field because:

1. def formField=getFieldById("project")

2. formField.getValue() return NULL. Thus I can not know the type of the field value. 

3. formField.setFormValue(tried several param type: Project, Project Id, Project Key) does not change the field.

4. I tested formField.setHiden(true). It is working. So getFieldById("projecgt")should have returned the right field. 

How to update the project field in "create issue"? please guide us. thanks.



1 answer

Suggest an answer

Log in or Sign up to answer
1 vote
Ram Kumar Aravindakshan _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Aug 15, 2021 • edited

Hi @alee zhang

Could you provide some print screens of what you are trying to do exactly?

If you are trying to change the Project that has been selected by updating the Project field using the Behaviour, this is not doable.

Thank you and Kind Regards,


AUG Leaders

Atlassian Community Events