Forums

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

Set up the Creted variables in to the Jira custom field by API

V N Raju Raju
Contributor
July 26, 2023

Hi Folks.

 

I have created the variable in Jira automation and have to put those variables into the Batch (Text type custom field).  Kindly help me with this.

 

Thanks & Regards

Raju

2 answers

0 votes
V N Raju Raju
Contributor
August 1, 2023

Hi @Bill Sheboy ,

 

I am not aware of that web request Url. I used this API to update the custom field

"<my organization url>.atlassian.net/rest/api/3/customfield/{{12759}}",

choose the PUT HTTP Method, and advanced edit field options like

{
"fields": {

"customfield_12759": "{{VersionRDY}}{{VersionRDWeek}}_{{VersionRDD}}_{{BatchName}}"
}
}

When I run this automation rule It's thrown the web request error 404.

 

Regards

Raju

0 votes
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.
August 1, 2023

Hi @V N Raju Raju 

First thing, I recommend removing that image and replacing it to obscure your URL and authentication information.  Perhaps also select the Hidden option for your header data.

Next, please describe what is not working as you expect?

Kind regards,
Bill

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.
August 2, 2023

I was suggesting to conceal the URL and security information in your screen image, not to completely remove it.

You appear to want to change the options for a select list, custom field.  If that is correct, please look here for the REST API methods which apply:

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-options/#api-group-issue-custom-field-options

Suggest an answer

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

Atlassian Community Events