For example, I have a board, and it displays tickets from Project Fun and tickets with a specific label from Project Cool. In the version column, versions from Project Fun and Cool are displayed. It seems that they are displayed in alphabetical order of the project ID, meaning Cool versions are shown first...but I want the Fun versions at the top...
...assuming this isn't possible because...JIRA...but let me know.
I would suggest to use Script Runner in the post function to fetch the user from the role and then use script to update custom field value with the username
import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.security.roles.ProjectRoleManager import com.atlassian.jira.user.ApplicationUsers def projectRoleManager = ComponentAccessor.getComponent(ProjectRoleManager) def projectRoleId = 10500 // ID of Automatic Watcher project role def role = projectRoleManager.getProjectRole(projectRoleId) def actors = projectRoleManager.getProjectRoleActors(role, issue.projectObject) def usersInRole = actors.getApplicationUsers();
Now update the custom field value as discussed many times in the forumn - https://answers.atlassian.com/questions/211505
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.