Forums

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

Not Able to hide field for all the issue types in Jira cloud

akhil dev
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 29, 2023

Hi,
We are having requirement to report the last date that the issue type moved to 'In Progress' so that I may correctly calculate Cycle Time.
Can you please let us know how to create a read-only fields and how to hide the custom fields in Jira Cloud without help of Scriptrunner.

1 answer

1 accepted

0 votes
Answer accepted
Maarten Cautreels
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 Champions.
May 20, 2018

Hi Hamid,

It took a while but I just found the time to give it a try on my test instance. The approvers of an issue are stored in a custom field thus updating that custom field would be the solution.

I was able to update the field by executing the following API call;

PUT /rest/api/latest/issue/ISSUEKEY-1
{
"fields": {
"customfield_10206": [
{
"name":"mcautreels"
},{
"name":"shane.soukup"
}
]
}
}

BUT there's one important thing to make sure. The customfield ID (in my case: 10206) can be different on each instance.

Finding the right id can be done following the knowledge base article: How to find id for custom field(s)?

Hope this helps,

Maarten

Suggest an answer

Log in or Sign up to answer