Forums

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

Validating Custom IP Address Field in Jira Cloud through Automation

Ali Forootaninia
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!
February 12, 2024

Hello Jira Community,

I've recently created a custom IP Address field in Jira Cloud and I'm looking to validate its value across various actions such as creation, editing, assigning, and transitioning issues. To achieve this, I intend to set up automation rules. However, I'm uncertain about the appropriate trigger action to use.

Currently, I'm considering using "Field value changed" as the trigger. Could someone please advise on the most suitable action to pair with this trigger to effectively validate the IP Address field?

Any insights or suggestions would be greatly appreciated.

Thank you!

1 answer

0 votes
Ignacio Aredez GenAI Expert
Banned
February 12, 2024

To validate a custom IP Address field in Jira Cloud with automation, follow these steps:

Trigger: Use "Field value changed" for the IP Address field.

Validation Logic
Direct regex validation within Jira Cloud automation for IP addresses is not natively supported. Instead, consider these approaches:

External Validation via Webhook: Implement a "Send web request" action to validate the IP address against an external service. This service would perform the regex validation and return a response indicating success or failure.

Manual Checks: If external integration is not feasible, opt for manual checks or notifications to responsible parties to verify the IP address manually.


Actions on Failure:
Add a comment detailing the validation error.
Optionally, notify stakeholders or transition the issue for correction.
This approach ensures your IP Address field values are consistently validated without direct regex support in Jira Cloud.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events