The Behaviours plugin disables inline edit :(

I thought I had a major breakthrough for my QA team when I discovered the Behaviours plugin has long been installed on our instance yet totally unused. Finally, I could populate the Description field of bugs with QA's Steps to Reproduce template!!

Alas, it appears that adding a Behaviour to a field disables inline editing of that field from the View Issue screen.

I would really really like to give Bug Descriptions a default value without having to sacrifice inline editing. How can I do that?

Jira 7.1.9 ScriptRunner 4.3.5

1 answer

1 accepted

Hi Todd,

In your version of ScriptRunner, inline editing is automatically disabled when a behavior is added to a field and the user won't be able to use the field on the view screen. One workaround provided is to manually set the field to be editable by placing code like this in the Initialiser Function of the behaviour:

def descField = getFieldById("description")
descField.setAllowInlineEdit(true)

 Josh

Woohoo! That's perfect! Thank you, Josh. The team is singing your praises.

Hi Josh,

Somehow Behaviour Initialiser script is NOT enabling inline edit required for "Summary and Description" fields in Jira.

Description Field Behaviour Inline Editing Screen.PNGPlease refer the attached screen shot where my behaviour script is written using SR version 4.3.16 inside my Jira s/w version 7.2.7

 

-Manju

Even I tried with "current user is reporter" condition added into under "When" and Jira issue was reported by me and still inline edit is disabled...

I would like give permission of Inline Edit to change both Summary and Description fields ONLY to Reporter of the issue in my Jira project.

def desc = getFieldById("description")

Lower-case 'd' for 'description', perhaps?

Todd,

Even I tried with description and summary with first letter Lower case before.

it's not working...

- Manju

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Fadoua M. Boualem
Published 6 hours ago in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

252 views 4 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you