It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Run SIL script on View issue page

Is it possible to run a SIL script on a view issue page and display a Global message (using lfGlobalMessage) on View Issue screen?

1 answer

1 accepted

0 votes
Answer accepted

Hi Salman,

Yes, it is possible to run a Live Fields SIL script on any screen. By default, a live fields SIL script associated to certain projects will execute on all issue screens for the given projects.

You can control on which screens to execute your SIL script using the argv["screen"] parameter inside your script. For example, if you want a live fields SIL script to execute only on the view issue screen your code should be:

if(argv["screen"] == "view") {

//your code here

}

You can find more details about accessing the current screen inside your scripts here:

http://confluence.kepler-rominfo.com/display/JJUPIN/Accessing+the+current+screen

Regards,

Alex

No, at the moment there is no support for the link issue screen in live fields.

Thanks! That works like a charm. I also see that it can identify transistion screens.

Is it also possible to identify if it is the Link Issue screen somehow?

Like Artem Tumanov likes this

Trying to restrct the options in Link types for specific issue types! I figure if I can identify link issue screen, that can be done easily.

I have looked into Validations based on conditions but that does not solve my problem, whoithout having to write a spearate validation plugin. And in case, after creating an issue, user can go to link page and change things which wont be validated through that plugin anyway.

So I recon, if I can limit the options itself, chances of things going wrong will be reduced.

Any possible work arounds?

What are you trying to do on the Link Issue screen?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Expose your beautifully crafted Dashboard through the Jira Service Desk Customer Portal

  A picture is worth a thousand words, especially when you're trying to find relationships and understand your data. Here, Dashboards play a vital role in gaining insights from a variety of dat...

352 views 5 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you