Forums

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

How I can auto fill fields in JIRA based on a macro ?

Veleslav Panov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 17, 2022

Hello there,

We are using JIRA to track issues in our product and I was wondering if there is a way to create a macro which will fill in several standard fields when it is executed ?

The use case is:

Viewing a JIRA bug ticket and we need to fill in several different fields and this is repeated for every single bug ticket per different sprint or other cases

 

Regards and thanks in advance

1 answer

0 votes
Ste Wright
Community Champion
March 19, 2022

Hi @Veleslav Panov 

I've got a few questions in relation to this...

  • You'll probably need an App - do you have Automation for Jira? Or another automation/scripting app?
  • The trigger is any Bug ticket being populated?
  • What is the link between the trigger Bug, and all other Bugs? Is it Sprint, or?
  • What if the other Bugs have these fields populated, with different values?

These questions should help narrow down the best way to do this!

Ste

Veleslav Panov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 20, 2022

Hello Stephen,

First of all thanks for your reply.

  • I am not sure if we have Automation for JIRA or something similar I can try to check this.
  • The trigger would not be any new bug. The use case is the following: We are doing Triage every day and we need to fulfil the same fields for newly created bugs matching the criteria for Triage (we are separating Triage from story bugs with JQLs)
  • We need to fill in Sprint, Fix version, mark it as Open (from New) and add Epic link,
  • The other bugs (story bugs) are manually filled in and we don`t have to worry about them.

Regards,

V.Panov

Ste Wright
Community Champion
March 21, 2022

Hi @Veleslav Panov 

As an example, this could be done using Automation for Jira

This App allows for automatic actions to take placed, based on a set of rules...

  • Trigger: Listens for an event in Jira to start the automation
  • Condition: Narrow the scope of where actions are applied
  • Action: The automated tasks

So for example, taking your needs above...

  • Trigger: Issue Created
  • Condition: Meets Triage definition - you could do this using Triage's JQL
  • Action: Edit Issue - Populate Sprint, Fix Version, Epic
  • Action: Transition Issue - New > Open

There is also a free version of this App - Automation for Jira - Server Lite. It does have some limitations though, albeit I think you could do the above automation with it.

 


There will be other options here also - Apps which could handle this might include...

...etc. Check out the full range of automation Apps on the Marketplace.

It wouldn't be built the same way in every App, but some of them can do similar things.

 


I'd ask internally what Automation/Scripting Apps your instance has available, and seek some help from your Jira Admin team to help set this up :)

Ste

Suggest an answer

Log in or Sign up to answer