Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to set conditional Issue edit permission

Condition is :: reporter can edit the issue till it is unassigned

Once it is assigned to someone else only current assignee can make any changes/edit the issue

2 answers

1 accepted

0 votes
Answer accepted
Ravi Sagar Community Leader Apr 29, 2020

Hi @n_banupriyanka 

This is very interesting use case.

  • What we can do is use a project role called "Issue Editors" or whatever makes sense.
  • Assign the Issue Edit permission to this role. Now anyone who is part of this role can edit the issues.
  • On the create transition, use a Post Script function to add reporter to this "Issue Editors" role.
  • Create a listeners for "Issue Assigned" event and run a script to remove current reporter from "Issue Editors" role.
  • You can keep the issue edit permission to current assignee.

This is what I can think of using ScriptRunner (on Jira Server).

I hope it helps.

Ravi 

Hi @Ravi Sagar 

Thank you for suggestion.

I am new with groovy script and I am having difficulties in writing a script.

Please help me with script.

 

Kind Regards, 

N Banupriyanka

Ravi Sagar Community Leader May 03, 2020

Hi @n_banupriyanka 

I made one video on modifying Project role last year. There is a code example as well for you reference. I hope it helps.

Ravi

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

386 views 3 17
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you