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 votes

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
Community showcase
Published Thursday in Jira

Updates to jira.atlassian.com give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

395 views 1 13
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