There are lots of things you can get and set for a board. Although I've never tried to get or set those values myself, I thought I'd give it a go...
I tried using a GET to /rest/agile/1.0/board/{boardId}/configuration to see if it was returned there. The set returned contained exactly as described in the API documentation; the configColumn and its sub-values.
I then thought it might be returned using GET to /rest/agile/1.0/board/{boardId}/properties/{propertyKey} but since I didn't know what the property key was to query on, I tried getting a list of the properties first with /rest/agile/1.0/board/{boardId}/properties.. but the set of keys that came back was empty!
Hmm. It seems my board has no properties
So, then I tried looking at the features using a GET to /rest/agile/1.0/board/{boardId}/features, but all I got back was a 404 error :
<status-code>404</status-code>
<message>null for uri: https://blah-blah-blah/rest/agile/1.0/board/12051/features</message>
Hmmmm. It seems my board has no features either, or the REST API doesn't like that endpoint.
OK, I'm using Jira Server, so some of those REST API calls might yield different results for Jira Cloud, but it seems that since setting Working Days is done via the Board's configuration, and the only part of the configuration returned is configColum (the Columns settings), then it looks like you can't get or set Working Days via the REST API, only the web interface.
There are lots of things you can get and set for a board. Although I've never tried to get or set those values myself, I thought I'd give it a go...
I tried using a GET to /rest/agile/1.0/board/{boardId}/configuration to see if it was returned there. The set returned contained exactly as described in the API documentation; the configColumn and its sub-values.
I then thought it might be returned using GET to /rest/agile/1.0/board/{boardId}/properties/{propertyKey} but since I didn't know what the property key was to query on, I tried getting a list of the properties first with /rest/agile/1.0/board/{boardId}/properties.. but the set of keys that came back was empty!
Hmm. It seems my board has no properties
So, then I tried looking at the features using a GET to /rest/agile/1.0/board/{boardId}/features, but all I got back was a 404 error :
<status-code>404</status-code>
<message>null for uri: https://blah-blah-blah/rest/agile/1.0/board/12051/features</message>
Hmmmm. It seems my board has no features either, or the REST API doesn't like that endpoint.
OK, I'm using Jira Server, so some of those REST API calls might yield different results for Jira Cloud, but it seems that since setting Working Days is done via the Board's configuration, and the only part of the configuration returned is configColum (the Columns settings), then it looks like you can't get or set Working Days via the REST API, only the web interface.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are lots of things you can get and set for a board. Although I've never tried to get or set those values myself, I thought I'd give it a go...
I tried using a GET to /rest/agile/1.0/board/{boardId}/configuration to see if it was returned there. The set returned contained exactly as described in the API documentation; the configColumn and its sub-values.
I then thought it might be returned using GET to /rest/agile/1.0/board/{boardId}/properties/{propertyKey} but since I didn't know what the property key was to query on, I tried getting a list of the properties first with /rest/agile/1.0/board/{boardId}/properties.. but the set of keys that came back was empty!
Hmm. It seems my board has no properties
So, then I tried looking at the features using a GET to /rest/agile/1.0/board/{boardId}/features, but all I got back was a 404 error with the message "null for uri: https://blah-blah-blah/rest/agile/1.0/board/12051/features"
Hmmmm. It seems my board has no features either, or the REST API doesn't like that endpoint.
OK, I'm using Jira Server, so some of those REST API calls might yield different results for Jira Cloud, but it seems that since setting Working Days is done via the Board's configuration, and the only part of the configuration returned is configColum (the Columns settings), then it looks like you can't get or set Working Days via the REST API, only the web interface.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are lots of things you can get and set for a board. Although I've never tried to get or set those values myself, I thought I'd give it a go...
I tried using a GET to /rest/agile/1.0/board/{boardId}/configuration to see if it was returned there. The set returned contained exactly as described in the API documentation; the configColumn and its sub-values.
I then thought it might be returned using GET to /rest/agile/1.0/board/{boardId}/properties/{propertyKey} but since I didn't know what the property key was to query on, I tried getting a list of the properties first with /rest/agile/1.0/board/{boardId}/properties.. but the set of keys that came back was empty!
Hmm. It seems my board has no properties
So, then I tried looking at the features using a GET to /rest/agile/1.0/board/{boardId}/features, but all I got back was a 404 error with the message "null for uri: https://blah-blah-blah/rest/agile/1.0/board/12051/features"
Hmmmm. It seems my board has no features either, or the REST API doesn't like that endpoint.
OK, I'm using Jira Server, so some of those REST API calls might yield different results for Jira Cloud, but it seems that since setting Working Days is done via the Board's configuration, and the only part of the configuration returned is configColum (the Columns settings), then it looks like you can't get or set Working Days via the REST API, only the web interface.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.