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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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
Community Members
Community Events
Community Groups

How can I add a custom button on the Jira Ticket screen?

Hi People,

Is it possible to create or add custom button on the Jira Ticket screen for the following scenario:

We have field called "Variant" which is Multiple Select drop down. The variant should be selected from a list include all the variants our system supported. 

Now we wanted to have one button "Yokoten" on the Jira ticket screen - This button should be always shown to the users on the screen regardless the status of workflow. When yokoten button is clicked the following changes should happen.

  • Scenario 1: if variant is empty,  nothing will happen. Basically varaint should not be empty, at least as a ticket creation the original variant should be input
  • Scenario 2: if variant is added,  search all the linked tickets with the same title and type, create the new ticket in related project with the same title and add the related link to the original ticket, 
  • Scenario 3: if variant is deleted, search all the linked tickets with the same title and type, the related ticket will be set to reject and notify to all the watcher 
  • Scenario 4: if variant is added, if the ticket status is rejected, then create a new ticket.

Is it possible to include these 4 scenarios? If yes how can we proceed.



Thanks in advance,

1 answer

1 accepted

1 vote
Answer accepted

@Koji Yokohama if you are using a Jira server/data center, then this can be doable with workflow transition and Scriptrunner post-function.

I hope this can help, please try.

Thank You @Vedant Kulkarni 

Remaining scenarios, will check with scripting.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events