Forums

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

customField.setAllowInlineEdit(false) is not working in Behaviour

Dan27
Contributor
June 29, 2020

Hello,

 

I want to 'read only' field fixVersion in Jira.

In edit screen in is working okay, But in view screen it is not read only and users can edit it.

I tried to use this intialiser without success:

def customField = getFieldByName("Fix Version/s")
customField.setAllowInlineEdit(false)

 

What am I doing wrong?

Thank you,

Daniel

2 answers

Suggest an answer

Log in or Sign up to answer
1 vote
Gaurav
Community Champion
November 18, 2021

Hello @sattar baig 

As per my understanding, you plan to close the parent ticket when all the related tickets are closed.  This use case is available in the Atlassian Automation library and can be found here.

This can be customised to suit the exact business needs. Let m know if you need guidance for the same.

Please accept the answer if it helps.

0 votes
Fabian Lim
Community Champion
November 18, 2021
TAGS
AUG Leaders

Atlassian Community Events