Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Behavior Fields not showing on Script Runner in Jira

Hizkeel Khan
Contributor
August 24, 2023

Hi,

I have installed script runner for Jira so I can play around with the custom fields. When I click on behavior tab, behavior fields option is not showing. How am I going to make changes in the fields if this option is not showing? This is what I am seeing.

 

behavior.png
Please help me out here. I want to hide some custom fields and for that I have installed script runner but I am not able to achieve this with script runner as well. 

3 answers

1 vote
Trudy P Claspill
Community Champion
August 24, 2023

Hello @Hizkeel Khan 

There is no longer a Behavior Fields section. It is replaced by the Behavior Scripts section.

This is mentioned in the Release Notes for June 2023.

Hizkeel Khan
Contributor
August 24, 2023

@Trudy P Claspill - Thanks for the update. So how I'm going to play around with these custom fields. I am using script runner for the first time.

I want to hide some fields. Please help me out here. 

Trudy P Claspill
Community Champion
August 24, 2023

You have to write the script itself.

Unfortunately there are not many examples of scripts. The documentation has only one example currently.

https://docs.adaptavist.com/sr4jc/latest/features/behaviours/example-behaviour

And documentation for the API used in the scripting.

https://docs.adaptavist.com/sr4jc/latest/features/behaviours/behaviours-api

I found another post in the community about the script for hiding fields based on another field. Perhaps that will help you:

https://community.atlassian.com/t5/Jira-Software-questions/Using-Cloud-Behaviours-to-display-hide-field-based-on-another/qaq-p/2285159

0 votes
Hizkeel Khan
Contributor
August 24, 2023

@Vikrant Yadav - Thank you sharing these videos. I am still not able to see the behavior fields in my script runner for Jira. I don't know what's wrong. These videos will only help me if I can see my behavior fields. 

In the screenshot above, I should see behavior fields after issue types? 

What should I do? 

Should I talk to their support?

Andrei Cuzuioc _ScriptRunner_
Contributor
August 25, 2023

Hi @Hizkeel Khan ,

Yes, please raise a support ticket and our team will gladly help you with this.

Best regards,

Andrei
Product Marketing Manager, ScriptRunner for Jira

0 votes
Vikrant Yadav
Community Champion
August 24, 2023
Hizkeel Khan
Contributor
August 24, 2023

@Vikrant Yadav - Here is what I am doing:

Step 1:

Step 1.png

Step 2:

Step 2.png

Step 3:

Step 3.png
Step 4:

Step 4.png

Tell me what I did wrong here. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events