Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,687
Community Members
 
Community Events
165
Community Groups

Issue creation, post function "If user is a member of the ... role, set issue security level ..."

Edited

Hi All.  I am trying the default a project to have no security issue set on issues created by users, but then when an issue is created from an email, to then set the security role to a locked down "assignee, creator and admin" type scheme.

I know how to set the default security scheme and have been using that for a while, where new issues are auto locked down, but now I want to switch it.

I have an email handler setup so that emails get created as issues as a particular generic user "email_reporter".  That "email_reporter" is set as the only user in a project role, and I am using that project role with the workflow for the project, on the create, to use the post function, "If user is a member of the ... role, set issue security level ...".

I would have thought that when the email handler picks up the email and then creates the new issue as "email_reporter", the post function would see that email reporter is in the specific group, and then set the security scheme to my chosen scheme.  This doesn't appear to be working though.

Is my logic sound?  Does email reporter need to be part of my security scheme?  Why would this not work?

1 answer

1 accepted

0 votes
Answer accepted
John M Funk Community Leader May 19, 2022

Hi Tristan - Welcome to the Atlassian Community!

You might consider using an Automation rule that on issue create checks the value of the reporter and sets the security level then. 

Brilliant... I had no idea that this could be done.  This should do the job!  Thanks

Like John M Funk likes this
John M Funk Community Leader May 24, 2022

Great! Glad I could help. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,895 views 37 49
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