Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Forcing field on certain status

Julian Davchev
Contributor
December 3, 2018

Hello everyone,

 

So I  added a validator to my transition "complete" so that a FixVersion/s is required once an issue is Done.

 

Screen Shot 2018-12-04 at 9.52.49.png

 

Once the issue is DONE though I'm still able to edit the fixVersion and remove it. How can I still force fixVersion to be a required field once status is DONE. People should be able to change it but not leave it EMPTY.

 

2 answers

0 votes
Joe Pitt
Community Champion
December 4, 2018

If you use 'Done' to indicate the issue is closed/completed, you can use the workflow property to set the issue so it can't be edited. 

https://confluence.atlassian.com/adminjiraserver071/workflow-properties-802592825.html 

Julian Davchev
Contributor
December 4, 2018

Is link wrong or just JIRA is down right now? I get error with this link.

0 votes
Steven F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 4, 2018

You need to reset part of how you think Jira works.

If people can edit the field freely, that means YOU'VE given them Edit Permissions over the field. There are no further Edit Permissions, so you have no further options. By granting that user Edit Issue Permissions and also including the Fix Version/s field on the Edit Operation Screen, you've granted them full rights to edit that field.

The only solution is to create a plugin, buy a plugin (scriptrunner, field-level security, etc), OR remove the field from the Edit Screen and only allow editing through Workflow Transition's with screens.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events