Info | ||
---|---|---|
| ||
Power Scripts™ for Jira v2.5.3+ (server) Level: BASIC |
...
Problem
The default values for fields in the transition screen, can be changed by the user.
Solution
...
Button handy | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Problem
Enable a user to change the default field values in the transition screen.
Solution
You can use Live Fields to resolve this issue. For details, refer to the accessing the current screen documentation with Live Fields.
For instance, let's explore a scenario where a rule is established to set the assignee on the "Resolve Issue" screen to the reporter. This allows configuration enables the reporter to test validate and confirm if issue resolution. If the issue is fixed. If soresolved, the reporter should can then close it.
Code Block |
---|
if(argv["screen"] == "trans_5") { //On the "Resolve Issue" screen, set the assignee to the reporter // so the user can test it and confirm that the issue is fixed. lfSet("assignee", reporter); lfDisable("assignee"); } |
The code above prevents the user to change from changing the value of the assignee field.