Hi,
Is it possible to configurate in JIRA that the field Fix Version will automatically fill in when I change the Issue status to (for example) 'Done'?
From standard JIRA,
The answer is no. You would need to script this.
Secondly, why would you want to automate the fix version when you could have different versions for different issues? Instead I advise creating a resolve screen, add the scree to the done transition, make it required before the issue is closed.
now when users are closing issues they must select the correct fix version.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the workflow transition add a condition that checks for the fix version ensuring it is not empty.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Alternatively, you can add it to the validator so that it forces the user to add a fixversion before the transition becomes available:
def fixVersion= issue.getFixVersions(); if (fixVersion == null) { //throw error message here }
The above code should help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.