How to link permission scheme with issuetype

I noticed that there's a permission :

Schedule Issues 

Ability to view or edit an issue's due date.
can restrict the ability to edit the issue's due date, but how to link it to a certain issutype?
 I want to make the bug's due date can not be edited by reporter, but other issuetype issues' due date can be edited by reporter.
How to do this?
Thanks very much!

2 answers

0 vote

You don't.  Permission schemes are handled at a project level, not issue.

Two options both involve using the workflow to do something differently for the issue type.  One is to do something quite sneaky with hidden fields and the workflow for that issue type, but it's really hard to get right and you need scripts.  The other is to remove the due-date from the edit screen for that issue type and add transitions that say "change due date", with conditions that say "only reporter"

Instead of achieving this via permission scheme you can achieve the same behavior with workflow conditions.

Set up a transition on the same status (i.e. Open -> Open; In progress -> In progress ) and give permission only to reporter to perform the transition and then add transition screens with only the Due date field in it for these transitions. Of course you will need to remove the due date field from all other screens to disallow common users to update this. 

Also update issue type screen scheme so this condition only applies to Bug not to other issue types.

Pilar

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...

94 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