Forums

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

Fields are not updating with values with JIRA Automation

Debasish Padhi
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 9, 2023

Hi,

I have created a template URL for bug creation and when i open the URL, it works partially. Can someone suggest what should be done here?

For Ex: In the below template URL, I am able to see a new ticket created for issue type 1 but whatever key-value pairs are given after that are not reflecting in the ticket. 

I am not seeing Priority and Description field setting any value. They are blank.

https://baseurl/secure/CreateIssue!default.jspa?pid=projectID&issuetype=1&priority=test&description=TESTING

 

Thanks,

DP

2 answers

0 votes
Maros Kacur
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!
August 16, 2023
0 votes
habib rahman
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.
March 19, 2023

Hi @Debasish Padhi My name is Habib I might be able to help please see below: 

 

If you have created a template URL for bug creation in Jira automation and it is not working as expected, there could be several reasons why the key-value pairs are not being reflected in the ticket.Here are some things you can check to resolve the issue:
  1. Check the syntax of the key-value pairs: Make sure that the key-value pairs are formatted correctly and are separated by an ampersand (&) symbol. For example:

 

&priority=High&description=This is a test bug

  1. Check the field names: Make sure that the field names in the key-value pairs match the actual field names in Jira. You can check the field names by going to the Jira issue creation screen and inspecting the HTML source of the page.
  2. Check the field values: Make sure that the field values in the key-value pairs are valid values for the corresponding fields in Jira. For example, if the "Priority" field in Jira has a limited set of valid values, make sure that the value you are setting in the key-value pair is one of those valid values.
  3. Check the URL encoding: Make sure that any special characters in the field values are properly URL-encoded. For example, a space in the description field should be encoded as "%20".
  4. Check the Jira automation rule: Make sure that the Jira automation rule that is using the template URL is configured correctly and is using the correct field names and values.
By checking these things, you should be able to identify the issue and resolve the problem with your template URL for bug creation in Jira automation.
I hope this has helped.
Thank you 
Habib 

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