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,560,064
Community Members
 
Community Events
185
Community Groups

Customize Jira page with scriptrunner

I am looking for some samples which able to:

Create a new tab on top of the navigate

on this new page, will have same form  allow user to input data

After click sumbit, will have some event happen.

 

Not sure if this available with scriptrunner, I know we can create a new button on tha navigation area. Please help.

 

Thanks

 

2 comments

Steven Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jul 12, 2017

Can you explain the actual use-case instead of outlining the approach you believe you need to take?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jul 12, 2017

Broadly, I know most of it is possible, as one of my squad did it a while ago (specifically to store project-level data for doing calculations in scripted fields later).  No idea how, as I've not tried it. 

But that was a very specific case, and this use-case is too fuzzy to be able to say if that might work for them.

Steven Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jul 12, 2017

I use scriptrunner heavily but the way the user outlined above, this seems more like typical plugin territory.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jul 12, 2017

It does to me too, but I think we need more detail on the use-case.  I'd class this as a "definite maybe" at the moment ;-)

Jonny Carter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jul 12, 2017

Take a look at the documentation on Customising the UI using ScriptRunner at https://scriptrunner.adaptavist.com/latest/jira/CustomisingUI.html. Take special note of the documentation on wiring up a dialog, including the notes about using javascript to add complex interactions.

To create a form that takes input, you'll most likely need to configure a Scripted REST Endpoint or two to display the form and take the POST from the form.

While this technically doesn't require developing a full blown p2 plugin, the rough use case you've outlined sounds like it will be complex enough that you'd need many of the same skills. At a minimum, you would need a custom web item, a couple of REST endpoints (one to return your form's HTML, another to receive the POST request), and some javascript to connect the two in just the way you want. At the very least, you'd need a little web development expertise and a taste for adventure.

Comment

Log in or Sign up to comment