Forums

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

How can I automate adding a label to the JIRA?

Mandar Bhome
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!
September 22, 2023

I need to automate adding a label to the JIRA for a  when new JIRA is created. Instead of adding a label manually, is there a way to add a label using automation  by fetching some data from the case management system (e.g. salesforce/servicenow)?

2 answers

2 votes
Dhiren Notani_Exalate_
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.
December 9, 2023

Hi @Mandar Bhome ,

It's easy to do this by using Jira Automation.

Basically you need to just add a rule that whenever a new issue is created in a certain project, then you just edit the label field and add some value to it.

There is an article published already which shows how to do this.

https://community.atlassian.com/t5/Jira-Software-questions/How-to-automatically-add-a-label-to-an-issue-at-creation-for-a/qaq-p/2307724

Thanks, Dhiren

1 vote
Bill Sheboy
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.
September 22, 2023

Hi @Mandar Bhome -- Welcome to the Atlassian Community!

Does your team/Jira site already have some form of integration (e.g., from the Atlassian Marketplace) with Salesforce or ServiceNow?  If so, please investigate that for supplying information to the Jira issues.

If not, how do you know what data should be selected and added as a new label?  Let's assume there is information in the Jira issue which would allow determining what to add...Have you considered calling a REST API function in these other systems to get the data?

Kind regards,
Bill

Mandar Bhome
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!
September 25, 2023

I am working on some tests for this. Probably a REST API may be a good way 

Like # people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events