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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,760 views 11 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot