Forums

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

Automation : create a variable number of issues

bixixo8776
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!
November 16, 2022

I have a ticket that is created with a custom field that contains a list of IPs.

I have a static mapping (around a thousand lines) that maps a given IP to the jira project that is in charge of this IP.

I want to create some automation such that when a ticket arrives, it induces the creation of 1 ticket in each project impacted by this ticket (and enrich a field IP with all IPs related to this project).

 

So for example, I have the following mapping:

"127.0.0.1" -> project1
"127.0.0.2" -> project1
"127.0.0.3" -> project2
(...)

and a ticket is created with the field IPs = "127.0.0.1, 127.0.0.2, 127.0.0.3"

I then want 2 tickets to be automatically created:

- one in project1, with the field IPs="127.0.0.1,127.0.0.2"

- one in project2, with the field IPs="127.0.0.3"

 

How can I achieve that in the simplest way with Jira ?

 

NB: I have not Jira cloud, nor can I install non-free plugins.

 

Thanks

1 answer

0 votes
Karim ABO HASHISH
Community Champion
November 17, 2022

hi 

in this case you might think of out of the box solution using JIRA webhooks and JIRA REST APIs.

To learn more about the topics check the below references.

JIRA Webhooks

https://developer.atlassian.com/server/jira/platform/webhooks/

JIRA APIs

https://developer.atlassian.com/server/jira/platform/rest-apis/

Cheers,

Karim

 

 

Suggest an answer

Log in or Sign up to answer