Forums

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

Groovy script for adding a project context to a custom field

Anshu Raina July 13, 2020

I want to add/create  a project context for a custom field using a groovy script.

Any help on this!

2 answers

0 votes
Vineela Durbha
Contributor
August 22, 2024

Hi I am looking on adding projects to the customfield context. any help on this ?

0 votes
Alex Koxaras _Relational_
Community Champion
November 14, 2022

Hi @Anshu Raina 

Can you please be a bit more specific? You mean to edit the default's field context and update it so as to include certain projects? Or to create a new one?

Are you indeed on cloud, or on premises?

If you are on cloud, you could do that by using REST API and to be more specific this;

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts/#api-rest-api-3-field-fieldid-context-get

and you can choose either update or create.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events