Forums

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

Any way to add Message on Create Screen via Script Runner Plugin

Vikrant Yadav
Community Champion
April 29, 2020

Hi Guys,

Is their any way to add Message on create screen at top, any warning message via script runner plugin.  Please suggest anything

Any best solution to show warning message on Create Screen.

@Ste Wright @Nic Brough -Adaptavist- @Kristian Walker _Adaptavist_ @Adrian Stephen @Derek Fields _RightStar_ @Ravi Sagar _Sparxsys_ 

 

Thanks in advance

 

1 answer

1 accepted

2 votes
Answer accepted
Kristian Walker _Adaptavist_
Community Champion
April 29, 2020

Hi Vikrant,

I can confirm that Atlassian on the Create Screen which you can use to add a panel containing a message with using the Script Fragments feature provided by ScriptRunner for Jira Server.

However I can confirm that the Behaviors feature ScriptRunner for Jira Server provides the setHelpText() method as described here which allows you place a warning message below a field on a screen.

Using this method you would be able to define a Behavior mapped to the Create Screen for your project using a condition as described here, and to display the warning message below the Summary field which is the top field on the issue screen.

This is the closest that you will be able to get to displaying a warning at the top of the create screen with ScriptRunner.

I hope this information helps.

Regards,

Kristian

Vikrant Yadav
Community Champion
April 29, 2020

Hi @Kristian Walker _Adaptavist_  Thanks for the solution :)

But i am trying Script Fragment first time, i have followed all the steps mentioned in this link , but still not showing message on the create issue screen. Please help me.. i am new for the functionality. I think i am selecting wrong location. Which location do i need to select to show on create issue screen.

 

Script fragment.png

Kristian Walker _Adaptavist_
Community Champion
April 29, 2020

Hi Vikrant,

Please note as stated in my previous response that it is not possible to use Script Fragments to add a message to the Create Screen as Atlassian does not provide any locations for the Create Screen.

This means as mentioned previously all you can do is to add some help text below the Summary field using Behaviors as mentioned in my previous response as this is the only way that you can add text onto the Create Screen with ScriptRunner.

Regards,

Kristian

Like # people like this
Vikrant Yadav
Community Champion
April 29, 2020

Hi @Kristian Walker _Adaptavist_  Thanks for the help.

I was thinking Script Fragments working.  But Behavior is only option that i can use. 


Thank You

Suggest an answer

Log in or Sign up to answer