Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,557,621
Community Members
 
Community Events
184
Community Groups

How to display Information Message with issue transition on Kanban board?

Hi All, 

I'm using ScriptRunner plugin to display info message when issue moves to particular status. 

I created Custom script post-function with following script:

import com.onresolve.scriptrunner.runner.util.UserMessageUtil
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.Issue
import groovy.xml.MarkupBuilder
import com.atlassian.jira.config.properties.APKeys

def customFieldManager = ComponentAccessor.getCustomFieldManager()
def issueManager = ComponentAccessor.getIssueManager()

def epNum1 = customFieldManager.getCustomFieldObjectByName("Effort QA")
def productValue = issue.getCustomFieldValue(epNum1)

if (productValue == 1) {
UserMessageUtil.warning("You already have 2 tasks In Progress in current project.")

}

 All goes fine if I make transition to status from issue view screen - message displayed. But if I make transition by dragging issue in column on Kanban board - nothing is displayed. Is there a way to display message both: on issue view screen and in board view?

2 answers

Faced the same problem...

Is there a solution for this issue ?

Hi, have you found a working solution, Elena?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events