Behaviours Plugin - make field writable

Gday,

I'm trying to make the Priority field editable by the reporter only to get to know the Behaviours plugin, but having no luck.

I've created a behaviour, mapped it to a project, and and issue type. I;ve specified the Guide Workflow too though know this is unneccessary.

I've configured the field as below:

Field: Priority
Delete
Optional (Require)
Writable (Readonly)
Shown (Hide)

Add serverside script

Conditions:
  • When:
    • Current user is Reporter (Delete)
  • Except:
  • Add

If i delete this field behaviour using the delete button shown above, I am able to Edit the issues priority. With the config above I cannot edit the field.

Any assistance is appreciated,

Cheers,
Jordan

2 answers

I think you got it the wrong way. Waht I see is:

"Make field Readonly when Current User is Reporter"

I would change it to "writable when current user is reporter" OR "readonly EXCEPT current user is reporter"

Cheers

Sorry. I got it wrong:-)

Could you try: Readonly except current user is reporter?

I guess you made sure that you're the reporter, right? ;-)

Cheers for the quick response!

I tried the reverse as you suggested and still could not edit the field. Also tried making myself the current assignee and setting as below:

Fields
Field: Priority
Delete
Optional (Require)
Writable (Readonly)
Shown (Hide)

Add serverside script

Conditions:
  • When:
    • Current user is Current assignee (Delete)
  • Except:
  • Add

And the reverse as well for good measure.

I've definitely specified the workflow that's in use as well.

Just seems like it's not working at all.

I also tried enabling the "Use Validator Plugin" - but i have the red asterisk's regardless so that didn't tell me if it's working or not.

It is mapped to the issue type of my test ticket too.

Would you have any other ideas by any chance?

Cheers,
Jordan

Cheers for the quick response!

I tried the reverse as you suggested and still could not edit the field. Also tried making myself the current assignee and setting as below:

Fields
Field: Priority
Delete
Optional (Require)
Writable (Readonly)
Shown (Hide)

Add serverside script

Conditions:
  • When:
    • Current user is Current assignee (Delete)
  • Except:
  • Add

And the reverse as well for good measure.

I've definitely specified the workflow that's in use as well.

Just seems like it's not working at all.

I also tried enabling the "Use Validator Plugin" - but i have the red asterisk's regardless so that didn't tell me if it's working or not.

It is mapped to the issue type of my test ticket too.

Would you have any other ideas by any chance?

Cheers,
Jordan

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

81 views 0 5
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